mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Remove a private access
This commit is contained in:
@@ -268,13 +268,12 @@ class Completion:
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Complete the methods that are defined in the super classes.
|
# Complete the methods that are defined in the super classes.
|
||||||
class_context = self._module_context.create_value(cls).as_context()
|
class_value = self._module_context.create_value(cls)
|
||||||
|
|
||||||
if cls.start_pos[1] >= leaf.start_pos[1]:
|
if cls.start_pos[1] >= leaf.start_pos[1]:
|
||||||
return
|
return
|
||||||
|
|
||||||
# TODO _value private access!
|
filters = class_value.get_filters(is_instance=True)
|
||||||
filters = class_context._value.get_filters(is_instance=True)
|
|
||||||
# The first dict is the dictionary of class itself.
|
# The first dict is the dictionary of class itself.
|
||||||
next(filters)
|
next(filters)
|
||||||
for filter in filters:
|
for filter in filters:
|
||||||
|
|||||||
Reference in New Issue
Block a user