diff options
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 953fa49..4d26f4e 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -144,6 +144,12 @@ a different clock than :func:`time.time`. Return the current time, as a :class:`float` value, according to the event loop's internal clock. +.. attribute:: BaseEventLoop.granularity + + Granularity of the time: maximum between the resolution of the + :meth:`BaseEventLoop.time` method and the resolution of the selector (see + :attr:`selectors.BaseSelector.resolution`). + .. seealso:: The :func:`asyncio.sleep` function. |