Kaydet (Commit) 165b2cc2 authored tarafından Fred Drake's avatar Fred Drake

Allow user code to call the addinfo() method on the profiler object.

üst 4c2e1af8
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment