summaryrefslogtreecommitdiff
path: root/Lib/mutex.py
diff options
context:
space:
mode:
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 5d35bdf6ab..9e6b8d43c7 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