Add a method implementation, that doesn't seem to be used, but it might one day be.

This commit is contained in:
Dave Halter
2019-08-24 14:50:59 +02:00
parent c94bce315a
commit 9b21c02819

View File

@@ -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):