mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 01:38:36 +08:00
fixed many get_in_function_call related bugs
This commit is contained in:
+2
-1
@@ -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