summaryrefslogtreecommitdiff
path: root/Lib/lib-old/ConfigParser.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-14 22:07:07 +0000
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-14 22:07:07 +0000
commite3a23c0734a8a6d4417e869c20e501771dab8a81 (patch)
treeccc487aa556740b4767078c4f4f02dd5ddd42dda /Lib/lib-old/ConfigParser.py
parent1b9df6862ac9c1faf2f2c5a9238241785001e10b (diff)
downloadcpython-git-e3a23c0734a8a6d4417e869c20e501771dab8a81.tar.gz
Renamed the ConfigParser module to 'configparser'.
Diffstat (limited to 'Lib/lib-old/ConfigParser.py')
-rw-r--r--Lib/lib-old/ConfigParser.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-old/ConfigParser.py b/Lib/lib-old/ConfigParser.py
new file mode 100644
index 0000000000..b686cc4903
--- /dev/null
+++ b/Lib/lib-old/ConfigParser.py
@@ -0,0 +1,8 @@
+import sys
+from warnings import warnpy3k
+
+warnpy3k("the ConfigParser module has been renamed "
+ "to 'configparser' in Python 3.0", stacklevel=2)
+
+import configparser
+sys.modules[__name__] = configparser