mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-20 13:07:06 +08:00
Treat case like f()
This commit is contained in:
1 parent
8f3db6976b
commit
9490730d59
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -232,7 +232,7 @@ class Script(object):
|
||||
|
||||
context = self._module.get_context()
|
||||
scopes = set()
|
||||
lower_priority_operators = ('(', ',')
|
||||
lower_priority_operators = ('()', '(', ',')
|
||||
"""Operators that could hide callee."""
|
||||
if next(context) in ('class', 'def'):
|
||||
scopes = set([self._module.parser.user_scope])
|
||||
|
||||
Reference in new issue
Block a user