The mutex module has been deprecated for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-08 19:26:08 +00:00
parent 80bb9d92e3
commit 9d44182427
6 changed files with 26 additions and 3 deletions

View file

@ -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