mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-23 04:31:33 +08:00
@@ -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