Commit f3a0b3e0 authored by Tom Niget's avatar Tom Niget

Call name fixer in attribute access

parent b3ad6c19
...@@ -180,7 +180,7 @@ class ExpressionVisitor(NodeVisitor): ...@@ -180,7 +180,7 @@ class ExpressionVisitor(NodeVisitor):
yield "->" yield "->"
else: else:
yield "." yield "."
yield node.attr yield self.fix_name(node.attr)
def visit_List(self, node: ast.List) -> Iterable[str]: def visit_List(self, node: ast.List) -> Iterable[str]:
if node.elts: if node.elts:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment