diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-05-13 04:55:24 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-05-13 04:55:24 (GMT) |
commit | 752abd0d3cc66f84f551650b8424248b202a16a4 (patch) | |
tree | f5302f8a246115f3f61a1414a94c8d2ce12a3a01 /Doc/library/sched.rst | |
parent | 8321f978918e3ae4de18672770c6504dcae82343 (diff) | |
download | cpython-752abd0d3cc66f84f551650b8424248b202a16a4.zip cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.gz cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.bz2 |
Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
Diffstat (limited to 'Doc/library/sched.rst')
-rw-r--r-- | Doc/library/sched.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index bb15c76..e0007fc 100644 --- a/Doc/library/sched.rst +++ b/Doc/library/sched.rst @@ -52,14 +52,14 @@ Example:: >>> import time >>> from threading import Timer >>> def print_time(): - ... print "From print_time", time.time() + ... print("From print_time", time.time()) ... >>> def print_some_times(): - ... print time.time() + ... print(time.time()) ... Timer(5, print_time, ()).start() ... Timer(10, print_time, ()).start() ... time.sleep(11) # sleep while time-delay events execute - ... print time.time() + ... print(time.time()) ... >>> print_some_times() 930343690.257 |