diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-14 22:44:22 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-14 22:44:22 (GMT) |
commit | e2514c6f1089ab1cdfba6ddc1dbaed1d37dd2be8 (patch) | |
tree | 1f0356149ed33a4bcca694f4f16b6f55c42126a6 /Lib/logging/config.py | |
parent | 0a11f96f673dc6f3a7d43d58c249e1d183b1891c (diff) | |
download | cpython-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/logging/config.py')
-rw-r--r-- | Lib/logging/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 33d6f2f..b4c52b4 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -65,9 +65,9 @@ def fileConfig(fname, defaults=None): rather than a filename, in which case the file-like object will be read using readfp. """ - import ConfigParser + import configparser - cp = ConfigParser.ConfigParser(defaults) + cp = configparser.ConfigParser(defaults) if hasattr(cp, 'readfp') and hasattr(fname, 'readline'): cp.readfp(fname) else: |