mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-07 04:21:51 +08:00
More parser tree simplifications.
This commit is contained in:
@@ -312,7 +312,7 @@ def _check_flow_information(context, flow, search_name, pos):
|
||||
for name in names:
|
||||
ass = tree.search_ancestor(name, 'assert_stmt')
|
||||
if ass is not None:
|
||||
result = _check_isinstance_type(context, ass.assertion(), search_name)
|
||||
result = _check_isinstance_type(context, ass.assertion, search_name)
|
||||
if result is not None:
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user