Commit e9983864 authored by Georg Brandl's avatar Georg Brandl

Fix markup errors.

parent d3113740
...@@ -1094,7 +1094,7 @@ call to one of the XXXMessage classes. ...@@ -1094,7 +1094,7 @@ call to one of the XXXMessage classes.
.. currentmodule:: logging .. currentmodule:: logging
.. custom-logrecord: .. _custom-logrecord:
Customising ``LogRecord`` Customising ``LogRecord``
------------------------- -------------------------
...@@ -1134,9 +1134,7 @@ The second approach works reasonably well for many cases, but does not allow ...@@ -1134,9 +1134,7 @@ The second approach works reasonably well for many cases, but does not allow
you to e.g. use a specialized subclass of :class:`LogRecord`. Library 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 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 remember to do this every time they introduced a new logger (which they would
do simply by adding new packages or modules and doing do simply by adding new packages or modules and doing ::
.. code-block:: python
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment