You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-11-07.17:52:32.557>created_at=<Date2014-11-06.21:07:10.402>labels= ['type-feature', 'docs', 'expert-asyncio']
title='Typo in asyncio-eventloop.rst, time() link is wrong'updated_at=<Date2014-11-07.17:52:32.556>user='https://github.com/mgrandi'
In the asyncio documentation, specifically asyncio-eventloop.rst, in the description for BaseEventLoop.call_at(), it has:
Arrange for the *callback* to be called at the given absolute timestamp *when* (an int or float), using the same time reference as :meth:`time`.
This links to the time module's time.time() method, which is incorrect as well as confusing, as the event loop's clock is NOT the same as time.time(), and it even says so on the top of the 'delayed calls' section
According the python documentation guide, it should have a period before it to make it refer to a method that is within the same module. I however decided to change it to BaseEventLoop.time(), because when i see the text 'time()', even if it links to the right method, still makes me think of time.time(), which is again confusing and generally incorrect.
Attached is a patch file, its a trivial change, but i did regenerate the docs and confirmed that it works, and clicking the link takes you to the right method in the page.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: