Skip to content

Commit a48b987

Browse files
committed
for-jedi-matcher-too
1 parent 23b950e commit a48b987

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/core/completer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ def _jedi_matcher(self, context: CompletionContext) -> _JediMatcherResult:
24812481
return {
24822482
"completions": matches,
24832483
# static analysis should not suppress other matchers
2484-
"suppress": {_get_matcher_id(self.file_matcher)},
2484+
"suppress": {_get_matcher_id(self.file_matcher)} if matches else False,
24852485
}
24862486

24872487
def _jedi_matches(

0 commit comments

Comments
 (0)