1
0
forked from VimPlug/jedi

Added a closure test that would have failed before the names_dict refactoring.

This commit is contained in:
Dave Halter
2015-01-08 17:58:24 +01:00
parent 144c20579b
commit 108cab21f4

View File

@@ -89,6 +89,22 @@ def f(b, a): return a
#? []
f(b=3)
# -----------------
# closure
# -----------------
def x():
a = 0
def x():
return a
a = 3.0
return x()
#? float()
x()
# -----------------
# class
# -----------------