mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +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):
|
||||
yield ParserTreeFilter(self)
|
||||
|
||||
def py__name__(self):
|
||||
return '<comprehension context>'
|
||||
|
||||
|
||||
class CompiledContext(ValueContext):
|
||||
def get_filters(self, until_position=None, origin_scope=None):
|
||||
|
||||
Reference in New Issue
Block a user