We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8af29db commit 10bf4d6Copy full SHA for 10bf4d6
Doc/library/time.rst
@@ -391,7 +391,9 @@ Functions
391
.. function:: sleep_until(secs)
392
393
Like :func:`sleep`, but sleep until the specified time of the system clock (as
394
- returned by :func:`time`).
+ returned by :func:`time`). This can be used, for example, to schedule events
395
+ at a specific timestamp obtained from
396
+ :meth:`datetime.timestamp <datetime.datetime.timestamp>`.
397
398
See the notes in :func:`sleep` on the behavior when interrupted and on accuracy.
399
Additional potential sources of inaccuracies include:
0 commit comments