diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-04-02 22:45:07 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-04-02 22:45:07 (GMT) |
commit | 30d79471bbc97e81b123806d41f1e14ba54062cf (patch) | |
tree | bdd8ce5b02700e4f5f7c76c46161567c313cd46a /Doc | |
parent | 1470f35bc62c3cf21b209fa8e353d8ea9e71b46b (diff) | |
download | cpython-30d79471bbc97e81b123806d41f1e14ba54062cf.zip cpython-30d79471bbc97e81b123806d41f1e14ba54062cf.tar.gz cpython-30d79471bbc97e81b123806d41f1e14ba54062cf.tar.bz2 |
Expose clock_settime() as time.clock_settime()
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/time.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst index f87fa64..8156b01 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -151,6 +151,13 @@ The module defines the following functions and data items: .. versionadded:: 3.3 +.. function:: clock_settime(clk_id, time) + + Set the time of the specified clock *clk_id*. + + .. versionadded:: 3.3 + + .. data:: CLOCK_REALTIME System-wide real-time clock. Setting this clock requires appropriate |