Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(32)

Unified Diff: Doc/library/logging.config.rst

Issue 18759: Fix internal doc references for logging package (Closed)
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/howto/logging.rst ('k') | Doc/library/logging.handlers.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/logging.config.rst Fri Aug 16 19:36:18 2013 +0200
+++ b/Doc/library/logging.config.rst Fri Aug 16 22:21:58 2013 +0300
@@ -85,9 +85,10 @@
:param fname: A filename, or a file-like object, or an instance derived
from :class:`~configparser.RawConfigParser`. If a
``RawConfigParser``-derived instance is passed, it is used as
- is. Otherwise, a :class:`~configparser.Configparser` is
+ is. Otherwise, a :class:`~configparser.ConfigParser` is
instantiated, and the configuration read by it from the
- object passed in ``fname``. If that has a :meth:`readline`
+ object passed in ``fname``. If that has a
+ :meth:`~io.TextIOBase.readline`
method, it is assumed to be a file-like object and read using
:meth:`~configparser.ConfigParser.read_file`; otherwise,
it is assumed to be a filename and passed to
@@ -122,8 +123,9 @@
configurations. If no port is specified, the module's default
:const:`DEFAULT_LOGGING_CONFIG_PORT` is used. Logging configurations will be
sent as a file suitable for processing by :func:`fileConfig`. Returns a
- :class:`Thread` instance on which you can call :meth:`start` to start the
- server, and which you can :meth:`join` when appropriate. To stop the server,
+ :class:`~threading.Thread` instance on which you can call
+ :meth:`~threading.Thread.start` to start the server, and which you can
+ :meth:`~threading.Thread.join` when appropriate. To stop the server,
call :func:`stopListening`.
The ``verify`` argument, if specified, should be a callable which should
@@ -741,8 +743,8 @@
The ``class`` entry is optional. It indicates the name of the formatter's class
(as a dotted module and class name.) This option is useful for instantiating a
-:class:`Formatter` subclass. Subclasses of :class:`Formatter` can present
-exception tracebacks in an expanded or condensed format.
+:class:`~logging.Formatter` subclass. Subclasses of :class:`~logging.Formatter`
+can present exception tracebacks in an expanded or condensed format.
.. note:: Due to the use of :func:`eval` as described above, there are
potential security risks which result from using the :func:`listen` to send
« no previous file with comments | « Doc/howto/logging.rst ('k') | Doc/library/logging.handlers.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+