mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 07:41:51 +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:
@@ -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