[Python-checkins] r63247 - in python/trunk/Doc/library: configparser.rst logging.rst shlex.rst
georg.brandl
python-checkins at python.org
Thu May 15 00:30:31 CEST 2008
Author: georg.brandl
Date: Thu May 15 00:30:31 2008
New Revision: 63247
Log:
Update configparser docs for lowercasing rename.
Modified:
python/trunk/Doc/library/configparser.rst
python/trunk/Doc/library/logging.rst
python/trunk/Doc/library/shlex.rst
Modified: python/trunk/Doc/library/configparser.rst
==============================================================================
--- python/trunk/Doc/library/configparser.rst (original)
+++ python/trunk/Doc/library/configparser.rst Thu May 15 00:30:31 2008
@@ -1,14 +1,20 @@
-
:mod:`ConfigParser` --- Configuration file parser
=================================================
.. module:: ConfigParser
+ :synopsis: Old name for the configparser module.
+
+.. module:: configparser
:synopsis: Configuration file parser.
.. moduleauthor:: Ken Manheimer <klm at zope.com>
.. moduleauthor:: Barry Warsaw <bwarsaw at python.org>
.. moduleauthor:: Eric S. Raymond <esr at thyrsus.com>
.. sectionauthor:: Christopher G. Petrilli <petrilli at amber.org>
+.. note::
+ The :mod:`ConfigParser` module has been renamed to :mod:`configparser` in
+ Python 3.0. It is importable under both names in Python 2.6 and the rest of
+ the 2.x series.
.. index::
pair: .ini; file
Modified: python/trunk/Doc/library/logging.rst
==============================================================================
--- python/trunk/Doc/library/logging.rst (original)
+++ python/trunk/Doc/library/logging.rst Thu May 15 00:30:31 2008
@@ -2240,12 +2240,12 @@
.. function:: fileConfig(fname[, defaults])
- Reads the logging configuration from a ConfigParser-format file named *fname*.
- This function can be called several times from an application, allowing an end
- user the ability to select from various pre-canned configurations (if the
- developer provides a mechanism to present the choices and load the chosen
- configuration). Defaults to be passed to ConfigParser can be specified in the
- *defaults* argument.
+ Reads the logging configuration from a :mod:`configparser`\-format file named
+ *fname*. This function can be called several times from an application,
+ allowing an end user the ability to select from various pre-canned
+ configurations (if the developer provides a mechanism to present the choices
+ and load the chosen configuration). Defaults to be passed to the ConfigParser
+ can be specified in the *defaults* argument.
.. function:: listen([port])
Modified: python/trunk/Doc/library/shlex.rst
==============================================================================
--- python/trunk/Doc/library/shlex.rst (original)
+++ python/trunk/Doc/library/shlex.rst Thu May 15 00:30:31 2008
@@ -63,7 +63,7 @@
.. seealso::
- Module :mod:`ConfigParser`
+ Module :mod:`configparser`
Parser for configuration files similar to the Windows :file:`.ini` files.
More information about the Python-checkins
mailing list