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

Method time

Lib/asyncio/base_events.py:771–778  ·  view source on GitHub ↗

Return the time according to the event loop's clock. This is a float expressed in seconds since an epoch, but the epoch, precision, accuracy and drift are unspecified and may differ per event loop.

(self)

Source from the content-addressed store, hash-verified

769 return (self._thread_id is not None)
770
771 def time(self):
772 """Return the time according to the event loop's clock.
773
774 This is a float expressed in seconds since an epoch, but the
775 epoch, precision, accuracy and drift are unspecified and may
776 differ per event loop.
777 """
778 return time.monotonic()
779
780 def call_later(self, delay, callback, *args, context=None):
781 """Arrange for a callback to be called at a given time.

Callers 3

call_laterMethod · 0.95
_getaddrinfo_debugMethod · 0.95
_run_onceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected