summaryrefslogtreecommitdiffstats
path: root/Doc/library/thread.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/thread.rst')
-rw-r--r--Doc/library/thread.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/thread.rst b/Doc/library/thread.rst
index a2eeb8a..32437dc 100644
--- a/Doc/library/thread.rst
+++ b/Doc/library/thread.rst
@@ -135,7 +135,7 @@ In addition to these methods, lock objects can also be used via the
a_lock = thread.allocate_lock()
with a_lock:
- print "a_lock is locked while this executes"
+ print("a_lock is locked while this executes")
**Caveats:**