diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-14 04:55:43 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-14 04:55:43 -0500 |
commit | ca4321bb5833e2daa7bee1a32a3dee37cb49f012 (patch) | |
tree | 10d108b3e6dbf9ec64a8cff384dd8d9712c129fa /setuptools/compat.py | |
parent | 477fef2d71db14b82d74ea73f4f90e02876d1967 (diff) | |
download | external_python_setuptools-ca4321bb5833e2daa7bee1a32a3dee37cb49f012.tar.gz external_python_setuptools-ca4321bb5833e2daa7bee1a32a3dee37cb49f012.tar.bz2 external_python_setuptools-ca4321bb5833e2daa7bee1a32a3dee37cb49f012.zip |
Use the modern name for the configparser module
Diffstat (limited to 'setuptools/compat.py')
-rw-r--r-- | setuptools/compat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/compat.py b/setuptools/compat.py index 68ec97d4..f0175a5d 100644 --- a/setuptools/compat.py +++ b/setuptools/compat.py @@ -7,7 +7,7 @@ PY2 = not PY3 if PY2: basestring = basestring import __builtin__ as builtins - import ConfigParser + import ConfigParser as configparser from StringIO import StringIO BytesIO = StringIO func_code = lambda o: o.func_code @@ -38,7 +38,7 @@ if PY2: if PY3: basestring = str import builtins - import configparser as ConfigParser + import configparser from io import StringIO, BytesIO func_code = lambda o: o.__code__ func_globals = lambda o: o.__globals__ |