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

Method _repr_info

Lib/asyncio/events.py:56–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self._source_traceback = None
55
56 def _repr_info(self):
57 info = [self.__class__.__name__]
58 if self._cancelled:
59 info.append('cancelled')
60 if self._callback is not None:
61 info.append(format_helpers._format_callback_source(
62 self._callback, self._args,
63 debug=self._loop.get_debug()))
64 if self._source_traceback:
65 frame = self._source_traceback[-1]
66 info.append(f'created at {frame[0]}:{frame[1]}')
67 return info
68
69 def __repr__(self):
70 if self._repr is not None:

Callers 2

__repr__Method · 0.95
_repr_infoMethod · 0.45

Calls 2

appendMethod · 0.45
get_debugMethod · 0.45

Tested by

no test coverage detected