Added RET keyword
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# ############################
|
||||
# from github: nealtodd/decorator.py
|
||||
# from github gist: nealtodd/decorator.py (https://gist.github.com/nealtodd/2489618)
|
||||
# ############################
|
||||
|
||||
import pstats
|
||||
@@ -8,7 +8,7 @@ from cProfile import Profile
|
||||
|
||||
def profile(sort_args=None, print_args=None):
|
||||
sort_args = sort_args or ['cumulative']
|
||||
print_args = print_args or [10]
|
||||
print_args = print_args or [20]
|
||||
profiler = Profile()
|
||||
|
||||
def decorator(fn):
|
||||
|
||||
Reference in New Issue
Block a user