mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-20 14:38:25 +08:00
debugging stuff
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user