]> granicus.if.org Git - python/commitdiff
bpo-36651: Fixed Asyncio Event Loop documentation inconsistency (GH-12866)
authorEnrico Alarico Carbognani <enrico.carbognani@gmail.com>
Thu, 18 Apr 2019 12:43:14 +0000 (14:43 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Apr 2019 12:43:14 +0000 (05:43 -0700)
# [bpo-36651](https://bugs.python.org/issue36651): Fixed Asyncio Event Loop documentation inconsistency

In the documentation for the call_later and the call_at methods there is a note which says that the delay cannot be longer than a day, but both methods have a note saying that this limitation was removed in Python 3.8
Here I fixed this issue by removing the pre-exising note and added a versionchanged.

To test my changes I have rebuilt the documentation with ```make html```. I did not have any errors and the effected page displayed correctly on a browser.

https://bugs.python.org/issue36651

Doc/library/asyncio-eventloop.rst

index 8d157fd5f599ae923e535bc2e42bcdf15a11fb81..bf7c93a86fd041522221cd23c9400d0203d04a63 100644 (file)
@@ -281,9 +281,9 @@ clocks to track time.
    the event loop's internal monotonic clock.
 
 .. note::
-
-   Timeouts (relative *delay* or absolute *when*) should not
-   exceed one day.
+   .. versionchanged:: 3.8
+      In Python 3.7 and earlier timeouts (relative *delay* or absolute *when*)
+      should not exceed one day.  This has been fixed in Python 3.8.
 
 .. seealso::