summaryrefslogtreecommitdiffstats
path: root/Doc/library/sched.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-04 07:15:32 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-04 07:15:32 (GMT)
commit6911e3ce3f72af759908b869b73391ea00d328e2 (patch)
tree5d4ff6070cb3f0f46f0a31ee4805b41053a06b48 /Doc/library/sched.rst
parentc9879246a2dd33a217960496fdf4606cb117c6a6 (diff)
downloadcpython-6911e3ce3f72af759908b869b73391ea00d328e2.zip
cpython-6911e3ce3f72af759908b869b73391ea00d328e2.tar.gz
cpython-6911e3ce3f72af759908b869b73391ea00d328e2.tar.bz2
Convert all print statements in the docs.
Diffstat (limited to 'Doc/library/sched.rst')
-rw-r--r--Doc/library/sched.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst
index bf3efbf..c262a8d 100644
--- a/Doc/library/sched.rst
+++ b/Doc/library/sched.rst
@@ -30,14 +30,14 @@ Example::
>>> import sched, time
>>> s=sched.scheduler(time.time, time.sleep)
- >>> def print_time(): print "From print_time", time.time()
+ >>> def print_time(): print("From print_time", time.time())
...
>>> def print_some_times():
- ... print time.time()
+ ... print(time.time())
... s.enter(5, 1, print_time, ())
... s.enter(10, 1, print_time, ())
... s.run()
- ... print time.time()
+ ... print(time.time())
...
>>> print_some_times()
930343690.257