summaryrefslogtreecommitdiffstats
path: root/Lib/mutex.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-08 19:26:08 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-08 19:26:08 (GMT)
commit9d4418242757f616ca7041409c7015e166b2c9f9 (patch)
treeb9c710661263d4a496a94b101ecb0ecf6d5ed897 /Lib/mutex.py
parent80bb9d92e3fdf671cb4f8ffeaadcaa1dedbe7876 (diff)
downloadcpython-9d4418242757f616ca7041409c7015e166b2c9f9.zip
cpython-9d4418242757f616ca7041409c7015e166b2c9f9.tar.gz
cpython-9d4418242757f616ca7041409c7015e166b2c9f9.tar.bz2
The mutex module has been deprecated for removal in 3.0.
Diffstat (limited to 'Lib/mutex.py')
-rw-r--r--Lib/mutex.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/mutex.py b/Lib/mutex.py
index 5d35bdf..9e6b8d4 100644
--- a/Lib/mutex.py
+++ b/Lib/mutex.py
@@ -11,6 +11,9 @@ implying it now has the lock.
Of course, no multi-threading is implied -- hence the funny interface
for lock, where a function is called once the lock is aquired.
"""
+from warnings import warnpy3k
+warnpy3k("the mutex module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
from collections import deque