summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-14 22:44:22 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-14 22:44:22 (GMT)
commite2514c6f1089ab1cdfba6ddc1dbaed1d37dd2be8 (patch)
tree1f0356149ed33a4bcca694f4f16b6f55c42126a6 /Lib/distutils
parent0a11f96f673dc6f3a7d43d58c249e1d183b1891c (diff)
downloadcpython-e2514c6f1089ab1cdfba6ddc1dbaed1d37dd2be8.zip
cpython-e2514c6f1089ab1cdfba6ddc1dbaed1d37dd2be8.tar.gz
cpython-e2514c6f1089ab1cdfba6ddc1dbaed1d37dd2be8.tar.bz2
Updated import statements to use the new `configparser` module name.
Updated the documentation to use the new name. Revert addition of the stub entry for the old name. Georg, I am reverting your changes since this commit should propagate to py3k.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/upload.py2
-rw-r--r--Lib/distutils/config.py2
-rw-r--r--Lib/distutils/dist.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py
index daf6811..ecc06f0 100644
--- a/Lib/distutils/command/upload.py
+++ b/Lib/distutils/command/upload.py
@@ -10,7 +10,7 @@ from hashlib import md5
import os
import socket
import platform
-import ConfigParser
+import configparser
import httplib
import base64
import urlparse
diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py
index cf54769..e9ba402 100644
--- a/Lib/distutils/config.py
+++ b/Lib/distutils/config.py
@@ -5,7 +5,7 @@ that uses .pypirc in the distutils.command package.
"""
import os
import sys
-from ConfigParser import ConfigParser
+from configparser import ConfigParser
from distutils.core import Command
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 0b13c1e..e4ab336 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -359,7 +359,7 @@ Common commands: (see '--help-commands' for more)
def parse_config_files (self, filenames=None):
- from ConfigParser import ConfigParser
+ from configparser import ConfigParser
if filenames is None:
filenames = self.find_config_files()