1
0
forked from VimPlug/jedi

Fix string name completion for stuff like dirname and abspath

This commit is contained in:
Dave Halter
2019-08-06 19:38:16 +02:00
parent 3a9dc0ca2e
commit 99008eef43
4 changed files with 34 additions and 3 deletions

View File

@@ -386,7 +386,7 @@ def get_global_filters(evaluator, context, until_position, origin_scope):
>>> list(filters[1].values()) # package modules -> Also empty.
[]
>>> sorted(name.string_name for name in filters[2].values()) # Module attributes
['__doc__', '__file__', '__name__', '__package__']
['__doc__', '__name__', '__package__']
Finally, it yields the builtin filter, if `include_builtin` is
true (default).