mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
fixed many get_in_function_call related bugs
This commit is contained in:
@@ -1260,7 +1260,8 @@ class PyFuzzyParser(object):
|
||||
if param and tok == ':':
|
||||
# parse annotations
|
||||
annotation, tok = self._parse_statement(added_breaks=breaks)
|
||||
param.add_annotation(annotation)
|
||||
if annotation:
|
||||
param.add_annotation(annotation)
|
||||
|
||||
if param:
|
||||
param.position_nr = pos
|
||||
|
||||
Reference in New Issue
Block a user