mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Better comment
This commit is contained in:
@@ -134,7 +134,8 @@ class NameFinder(object):
|
|||||||
``filters``), until a name fits.
|
``filters``), until a name fits.
|
||||||
"""
|
"""
|
||||||
names = []
|
names = []
|
||||||
# TODO why is this paragraph needed?
|
# This paragraph is currently needed for proper branch evaluation
|
||||||
|
# (static analysis).
|
||||||
if self._context.predefined_names and isinstance(self._name, tree.Name):
|
if self._context.predefined_names and isinstance(self._name, tree.Name):
|
||||||
node = self._name
|
node = self._name
|
||||||
while node is not None and not is_scope(node):
|
while node is not None and not is_scope(node):
|
||||||
|
|||||||
Reference in New Issue
Block a user