Added RET keyword

This commit is contained in:
2020-07-07 11:34:40 +02:00
parent 56e1cb4587
commit c4399d631c
21 changed files with 245 additions and 87 deletions
+2 -2
View File
@@ -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):