1
0
forked from VimPlug/jedi

weakref problem, references were killed to early

This commit is contained in:
David Halter
2012-09-03 16:59:12 +02:00
parent 663d808f9f
commit 77dac95ee0
2 changed files with 17 additions and 9 deletions

View File

@@ -108,3 +108,15 @@ mod1.a
#! ['a=1.0']
from import_tree.pkg.mod1 import a
# -----------------
# anonymous classes
# -----------------
def func():
class A():
def b(self):
return 1
return A()
#! 8 ['def b']
func().b()