File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1425,7 +1425,7 @@ with PyCallGraph(output=graph):
14251425from timeit import default_timer
14261426from datetime import timedelta
14271427
1428- def stopwatch (func ):
1428+ def time_me (func ):
14291429 def out (* args , ** kwargs ):
14301430 start = default_timer()
14311431 result = func(* args, ** kwargs)
@@ -1440,7 +1440,7 @@ def stopwatch(func):
14401440from cProfile import Profile
14411441from pstats import Stats
14421442
1443- def profiler (func ):
1443+ def profile_me (func ):
14441444 def out (* args , ** kwargs ):
14451445 profile = Profile()
14461446 result = profile.runcall(func, * args, ** kwargs)
@@ -1456,7 +1456,7 @@ def profiler(func):
14561456
14571457#### Prints arguments and output of a decorated function:
14581458``` python
1459- def tracer (func ):
1459+ def trace_me (func ):
14601460 def out (* args , ** kwargs ):
14611461 result = func(* args, ** kwargs)
14621462 arg_list = [repr (x) for x in args]
You can’t perform that action at this time.
0 commit comments