diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-02-20 03:31:23 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-02-20 03:31:23 (GMT) |
| commit | a7b55a33f877d1c210a5372a73ad85983ab8621c (patch) | |
| tree | ccff5a2b2506f9b290e8c9f83be33bb3dfc16655 /Doc/library/configparser.rst | |
| parent | 5149742e8b3c8221d4cb53dcfc9a12ae3fec9238 (diff) | |
| download | cpython-a7b55a33f877d1c210a5372a73ad85983ab8621c.zip cpython-a7b55a33f877d1c210a5372a73ad85983ab8621c.tar.gz cpython-a7b55a33f877d1c210a5372a73ad85983ab8621c.tar.bz2 | |
revert r69777 since all the experts agree that extra import lines distract from the code
Diffstat (limited to 'Doc/library/configparser.rst')
| -rw-r--r-- | Doc/library/configparser.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index a04badb..1de11b9 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -231,8 +231,7 @@ RawConfigParser Objects load the required file or files using :meth:`readfp` before calling :meth:`read` for any optional files:: - import ConfigParser - import os + import ConfigParser, os config = ConfigParser.ConfigParser() config.readfp(open('defaults.cfg')) |
