mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
8 lines
183 B
Python
8 lines
183 B
Python
import sys
|
|
from warnings import warnpy3k
|
|
|
|
warnpy3k("the Queue module has been renamed "
|
|
"to 'queue' in Python 3.0", stacklevel=2)
|
|
|
|
import queue
|
|
sys.modules[__name__] = queue
|