Renamed SocketServer to 'socketserver'.

Deprecated old name.
This commit is contained in:
Alexandre Vassalotti 2008-05-12 01:37:10 +00:00
parent ed02e51ab2
commit fb9ce65a91
4 changed files with 13 additions and 1 deletions

View 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