mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-30 08:44:21 +08:00
test for is_nested failure
This commit is contained in:
@@ -137,5 +137,5 @@ def get_module_statements(module):
|
||||
for scope in module.walk():
|
||||
imports |= set(scope.imports)
|
||||
stmts |= add_stmts(scope.statements)
|
||||
stmts |= add_stmts(scope.returns)
|
||||
stmts |= add_stmts(r for r in scope.returns if r is not None)
|
||||
return stmts, imports
|
||||
|
||||
Reference in New Issue
Block a user