mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
The mutex module has been deprecated for removal in 3.0.
This commit is contained in:
parent
80bb9d92e3
commit
9d44182427
6 changed files with 26 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue