MCPcopy Index your code
hub / github.com/pythonprofilers/memory_profiler / f

Method f

memory_profiler.py:754–757  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

752 if iscoroutinefunction(func):
753 @coroutine
754 def f(*args, **kwargs):
755 with self._count_ctxmgr():
756 res = yield from func(*args, **kwargs)
757 return res
758 else:
759 def f(*args, **kwds):
760 with self._count_ctxmgr():

Callers

nothing calls this directly

Calls 2

_count_ctxmgrMethod · 0.95
funcFunction · 0.85

Tested by

no test coverage detected