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

Method _repr_info

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

Source from the content-addressed store, hash-verified

151 self._scheduled = False
152
153 def _repr_info(self):
154 info = super()._repr_info()
155 pos = 2 if self._cancelled else 1
156 info.insert(pos, f'when={self._when}')
157 return info
158
159 def __hash__(self):
160 return hash(self._when)

Callers

nothing calls this directly

Calls 3

superClass · 0.85
_repr_infoMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected