mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Avoid position passing for value filters
This commit is contained in:
@@ -117,7 +117,7 @@ class NameFinder(object):
|
|||||||
|
|
||||||
def get_value_filters(self):
|
def get_value_filters(self):
|
||||||
origin_scope = self._get_origin_scope()
|
origin_scope = self._get_origin_scope()
|
||||||
for f in self._value.get_filters(False, self._position, origin_scope=origin_scope):
|
for f in self._value.get_filters(False, origin_scope=origin_scope):
|
||||||
yield f
|
yield f
|
||||||
# This covers the case where a stub files are incomplete.
|
# This covers the case where a stub files are incomplete.
|
||||||
if self._value.is_stub():
|
if self._value.is_stub():
|
||||||
|
|||||||
Reference in New Issue
Block a user