diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-25 23:02:31 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-25 23:02:31 (GMT) |
commit | 669eeaf9339a4096db0e5566b4c986300cb60f00 (patch) | |
tree | 4b286f6acb2233d518b9e6a69e434c3f0e2c3a7e /Doc/library/asyncio-eventloop.rst | |
parent | 3c2f175ec4355a0e1f3e4d7c21ff3986e8d93dc8 (diff) | |
download | cpython-669eeaf9339a4096db0e5566b4c986300cb60f00.zip cpython-669eeaf9339a4096db0e5566b4c986300cb60f00.tar.gz cpython-669eeaf9339a4096db0e5566b4c986300cb60f00.tar.bz2 |
Merge latest Tulip into asyncio
- Make the new granularity attribute private
- Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic
instead
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 4d26f4e..953fa49 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -144,12 +144,6 @@ 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. |