diff options
| author | Collin Winter <collinw@gmail.com> | 2007-09-01 23:34:30 +0000 |
|---|---|---|
| committer | Collin Winter <collinw@gmail.com> | 2007-09-01 23:34:30 +0000 |
| commit | c79461b1648c9209c3652184572a17eef0a76202 (patch) | |
| tree | 47c6238c8c47c4881f6f0523ea86d201cea1fc94 /Doc/library/threading.rst | |
| parent | 2ac012130549b1ef51ebce11148d01eaca1a7033 (diff) | |
| download | cpython-git-c79461b1648c9209c3652184572a17eef0a76202.tar.gz | |
Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.
Diffstat (limited to 'Doc/library/threading.rst')
| -rw-r--r-- | Doc/library/threading.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index a676a1e483..828d42b6cb 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -683,7 +683,7 @@ exactly the same as the interval specified by the user. For example:: def hello(): - print "hello, world" + print("hello, world") t = Timer(30.0, hello) t.start() # after 30 seconds, "hello, world" will be printed @@ -721,5 +721,5 @@ Currently, :class:`Lock`, :class:`RLock`, :class:`Condition`, some_rlock = threading.RLock() with some_rlock: - print "some_rlock is locked while this executes" + print("some_rlock is locked while this executes") |
