mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
PEP8 indentation
This commit is contained in:
@@ -351,12 +351,12 @@ class FastParser(use_metaclass(CachedFastParser)):
|
|||||||
else:
|
else:
|
||||||
if node is None:
|
if node is None:
|
||||||
self.current_node = \
|
self.current_node = \
|
||||||
self.current_node.add_parser(p, code_part)
|
self.current_node.add_parser(p, code_part)
|
||||||
else:
|
else:
|
||||||
self.current_node = self.current_node.add_node(node)
|
self.current_node = self.current_node.add_node(node)
|
||||||
|
|
||||||
if self.current_node.parent and (isinstance(p.user_scope,
|
if self.current_node.parent and (isinstance(p.user_scope,
|
||||||
pr.SubModule) or p.user_scope is None) \
|
pr.SubModule) or p.user_scope is None) \
|
||||||
and self.user_position \
|
and self.user_position \
|
||||||
and p.start_pos <= self.user_position < p.end_pos:
|
and p.start_pos <= self.user_position < p.end_pos:
|
||||||
p.user_scope = self.current_node.parent.content_scope
|
p.user_scope = self.current_node.parent.content_scope
|
||||||
|
|||||||
Reference in New Issue
Block a user