From 9b21c028192e3d6eb2e9ae32ea0706b53918ab19 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 24 Aug 2019 14:50:59 +0200 Subject: [PATCH] Add a method implementation, that doesn't seem to be used, but it might one day be. --- jedi/inference/context.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jedi/inference/context.py b/jedi/inference/context.py index 62e08a74..3dd7451b 100644 --- a/jedi/inference/context.py +++ b/jedi/inference/context.py @@ -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 '' + class CompiledContext(ValueContext): def get_filters(self, until_position=None, origin_scope=None):