summaryrefslogtreecommitdiff
path: root/Lib/lib-old/SocketServer.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-12 01:37:10 +0000
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-12 01:37:10 +0000
commitfb9ce65a91d674b1a80174c70a025aee83783388 (patch)
tree36913a12179421b3cf2ce9b1d709e2a7e150d19c /Lib/lib-old/SocketServer.py
parented02e51ab2ca94d83a4b400c7186a51047bf3a29 (diff)
downloadcpython-git-fb9ce65a91d674b1a80174c70a025aee83783388.tar.gz
Renamed SocketServer to 'socketserver'.
Deprecated old name.
Diffstat (limited to 'Lib/lib-old/SocketServer.py')
-rw-r--r--Lib/lib-old/SocketServer.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-old/SocketServer.py b/Lib/lib-old/SocketServer.py
new file mode 100644
index 0000000000..9875894640
--- /dev/null
+++ b/Lib/lib-old/SocketServer.py
@@ -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