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