1
0
forked from VimPlug/jedi

Get doctest completions working, fixes #860

This commit is contained in:
Dave Halter
2020-01-01 00:24:58 +01:00
parent 8914bbbcc3
commit 50c5eb5786
5 changed files with 99 additions and 10 deletions
+1 -1
View File
@@ -468,7 +468,7 @@ def get_global_filters(context, until_position, origin_scope):
until_position=until_position,
origin_scope=origin_scope):
yield filter
if isinstance(context, BaseFunctionExecutionContext):
if isinstance(context, (BaseFunctionExecutionContext, ModuleContext)):
# The position should be reset if the current scope is a function.
until_position = None