mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Renamed SocketServer to 'socketserver'.
Deprecated old name.
This commit is contained in:
parent
ed02e51ab2
commit
fb9ce65a91
4 changed files with 13 additions and 1 deletions
8
Lib/lib-old/SocketServer.py
Normal file
8
Lib/lib-old/SocketServer.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the SocketServer module has been renamed "
|
||||
"to 'socketserver' in Python 3.0", stacklevel=2)
|
||||
|
||||
import socketserver
|
||||
sys.modules[__name__] = socketserver
|
Loading…
Add table
Add a link
Reference in a new issue