mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-19 12:21:26 +08:00
1 parent
3a506b44ac
commit
26e882d19c
1 file changed
+1
-1
@@ -145,7 +145,7 @@ class BackslashNode(IndentationNode):
|
||||
|
||||
|
||||
def _is_magic_name(name):
|
||||
return name.value.startswith('__') and name.value.startswith('__')
|
||||
return name.value.startswith('__') and name.value.endswith('__')
|
||||
|
||||
|
||||
class PEP8Normalizer(ErrorFinder):
|
||||
|
||||
Reference in new issue
Block a user