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.
This commit is contained in:
Alexandre Vassalotti 2008-05-14 22:44:22 +00:00
parent 0a11f96f67
commit e2514c6f10
9 changed files with 52 additions and 57 deletions

View file

@ -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: