[Python-checkins] cpython (3.2): Fix markup errors.

georg.brandl python-checkins at python.org
Tue Feb 28 08:17:57 CET 2012


http://hg.python.org/cpython/rev/e656738cb631
changeset: 75325:e656738cb631
branch: 3.2
parent: 75320:2fd68efac05a
user: Georg Brandl <georg at python.org>
date: Tue Feb 28 08:21:40 2012 +0100
summary:
 Fix markup errors.
files:
 Doc/howto/logging-cookbook.rst | 6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -1094,7 +1094,7 @@
 
 .. currentmodule:: logging
 
-.. custom-logrecord:
+.. _custom-logrecord:
 
 Customising ``LogRecord``
 -------------------------
@@ -1134,9 +1134,7 @@
 you to e.g. use a specialized subclass of :class:`LogRecord`. Library
 developers can set a suitable filter on their loggers, but they would have to
 remember to do this every time they introduced a new logger (which they would
-do simply by adding new packages or modules and doing
-
-.. code-block:: python
+do simply by adding new packages or modules and doing ::
 
 logger = logging.getLogger(__name__)
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /