Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wutingjia committed Oct 16, 2024
1 parent c962f4d commit e5749f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jedi/api/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def _must_be_kwarg(signatures, positional_count, used_kwargs):
return must_be_kwarg


def filter_names(inference_state, completion_names, stack, like_name, fuzzy, imported_names, cached_name):
def filter_names(inference_state, completion_names, stack, like_name, fuzzy,
imported_names, cached_name):
comp_dct = set()
if settings.case_insensitive_completion:
like_name = like_name.lower()
Expand Down
1 change: 1 addition & 0 deletions test/test_inference/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ def import_names(*args, **kwargs):
s = 'from os import path as pp, p'
assert 'path' not in import_names(s)


def test_path_issues(Script):
"""
See pull request #684 for details.
Expand Down

0 comments on commit e5749f8

Please sign in to comment.