summaryrefslogtreecommitdiffstats
path: root/Lib/hotshot
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/hotshot')
-rw-r--r--Lib/hotshot/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/hotshot/__init__.py b/Lib/hotshot/__init__.py
index c362fea..f00e78d 100644
--- a/Lib/hotshot/__init__.py
+++ b/Lib/hotshot/__init__.py
@@ -21,6 +21,9 @@ class Profile:
def stop(self):
self._prof.stop()
+ def addinfo(self, key, value):
+ self._prof.addinfo(key, value)
+
# These methods offer the same interface as the profile.Profile class,
# but delegate most of the work to the C implementation underneath.