mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Fix remaining issues for Python 3.4
This commit is contained in:
@@ -396,7 +396,7 @@ def _find_type_from_comment_hint(context, node, varlist, name):
|
|||||||
|
|
||||||
def find_unknown_type_vars(context, node):
|
def find_unknown_type_vars(context, node):
|
||||||
def check_node(node):
|
def check_node(node):
|
||||||
if node.type == 'atom_expr':
|
if node.type in ('atom_expr', 'power'):
|
||||||
trailer = node.children[-1]
|
trailer = node.children[-1]
|
||||||
if trailer.type == 'trailer' and trailer.children[0] == '[':
|
if trailer.type == 'trailer' and trailer.children[0] == '[':
|
||||||
for subscript_node in _unpack_subscriptlist(trailer.children[1]):
|
for subscript_node in _unpack_subscriptlist(trailer.children[1]):
|
||||||
|
|||||||
Reference in New Issue
Block a user