mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Add a method implementation, that doesn't seem to be used, but it might one day be.
This commit is contained in:
@@ -358,6 +358,9 @@ class CompForContext(TreeContextMixin, AbstractContext):
|
|||||||
def get_filters(self, until_position=None, origin_scope=None):
|
def get_filters(self, until_position=None, origin_scope=None):
|
||||||
yield ParserTreeFilter(self)
|
yield ParserTreeFilter(self)
|
||||||
|
|
||||||
|
def py__name__(self):
|
||||||
|
return '<comprehension context>'
|
||||||
|
|
||||||
|
|
||||||
class CompiledContext(ValueContext):
|
class CompiledContext(ValueContext):
|
||||||
def get_filters(self, until_position=None, origin_scope=None):
|
def get_filters(self, until_position=None, origin_scope=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user