mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-03 10:43:26 +08:00
fix a problem found by sith with dynamic params (includes tests)
This commit is contained in:
@@ -63,6 +63,11 @@ def func(c=1):
|
||||
|
||||
func(1.0)
|
||||
|
||||
# Needs to be here, because in this case func is an import -> shouldn't lead to
|
||||
# exceptions.
|
||||
import sys as func
|
||||
func.sys
|
||||
|
||||
# -----------------
|
||||
# classes
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user