fix a problem found by sith with dynamic params (includes tests)

This commit is contained in:
David Halter committed 2013-08-12 02:23:44 +04:30
1 parent 27854a3948
commit faf7e0c422
2 files changed
+11 -5

No files matched your search

+5
View File
@@ -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
# -----------------