mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 15:55:14 +08:00
Script.goto_assignments now always needs a call_path. Otherwise it raises a NotFoundError.
This change makes Jedi's behavior more consistent.
This commit is contained in:
1 parent
fb10199f37
commit
e872d9e073
3 files changed
+20
-19
No files matched your search
@@ -96,8 +96,7 @@ from import_tree.rename1 import abc
|
||||
#< (0, 32),
|
||||
from import_tree.rename1 import not_existing
|
||||
|
||||
# shouldn't work
|
||||
#<
|
||||
# Shouldn't work (would raise a NotFoundError, because there's no name.)
|
||||
from not_existing import *
|
||||
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user