1
0
forked from VimPlug/jedi

debugging stuff

This commit is contained in:
David Halter
2012-07-05 01:03:28 +02:00
parent 70530c0767
commit 70b3895e42
5 changed files with 39 additions and 5 deletions

View File

@@ -93,3 +93,22 @@ JustAClass().a()
JustAClass.a.
#? []
JustAClass().a()
# -----------------
# others
# -----------------
def memoize(function):
def wrapper(*args):
if 1:
pass
else:
rv = function(*args)
return rv
return wrapper
@memoize
def follow_statement(stmt):
return stmt
#? int()
follow_statement(1)