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

Method expired

Lib/asyncio/timeouts.py:71–73  ·  view source on GitHub ↗

Is timeout expired during execution?

(self)

Source from the content-addressed store, hash-verified

69 self._timeout_handler = loop.call_at(when, self._on_timeout)
70
71 def expired(self) -> bool:
72 """Is timeout expired during execution?"""
73 return self._state in (_State.EXPIRING, _State.EXPIRED)
74
75 def __repr__(self) -> str:
76 info = ['']

Calls

no outgoing calls