MCPcopy Index your code
hub / github.com/python/cpython / _format_callback_source

Function _format_callback_source

Lib/asyncio/format_helpers.py:22–27  ·  view source on GitHub ↗
(func, args, *, debug=False)

Source from the content-addressed store, hash-verified

20
21
22def _format_callback_source(func, args, *, debug=False):
23 func_repr = _format_callback(func, args, None, debug=debug)
24 source = _get_function_source(func)
25 if source:
26 func_repr += f' at {source[0]}:{source[1]}'
27 return func_repr
28
29
30def _format_args_and_kwargs(args, kwargs, *, debug=False):

Callers

nothing calls this directly

Calls 2

_format_callbackFunction · 0.85
_get_function_sourceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…