summaryrefslogtreecommitdiff
path: root/Lib/cProfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/cProfile.py')
-rwxr-xr-xLib/cProfile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/cProfile.py b/Lib/cProfile.py
index 2e449cc576..369d02e22e 100755
--- a/Lib/cProfile.py
+++ b/Lib/cProfile.py
@@ -124,6 +124,7 @@ class Profile(_lsprof.Profiler):
return func(*args, **kw)
finally:
self.disable()
+ runcall.__text_signature__ = '($self, func, /, *args, **kw)'
def __enter__(self):
self.enable()