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

runcall(): Expose the return value of the profiled function; this allows

    changing an application to collect profile data on one part of the
    app while still making use of the profiled component, without relying
    on side effects.
üst 30d1c75d
......@@ -35,4 +35,4 @@ class Profile:
return self
def runcall(self, func, *args, **kw):
self._prof.runcall(func, args, kw)
return self._prof.runcall(func, args, kw)
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