forked from VimPlug/jedi
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