Skip to content

Commit 10bf4d6

Browse files
committed
Minor update to doc
1 parent 8af29db commit 10bf4d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/time.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,9 @@ Functions
391391
.. function:: sleep_until(secs)
392392

393393
Like :func:`sleep`, but sleep until the specified time of the system clock (as
394-
returned by :func:`time`).
394+
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>`.
395397

396398
See the notes in :func:`sleep` on the behavior when interrupted and on accuracy.
397399
Additional potential sources of inaccuracies include:

0 commit comments

Comments
 (0)