summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/howto/logging-cookbook.rst4
-rw-r--r--Doc/library/logging.handlers.rst6
2 files changed, 5 insertions, 5 deletions
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index 37b2f29..322e52e 100644
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -1126,7 +1126,7 @@ snippet, which shows zlib-based compression of the log file::
rh.rotator = rotator
rh.namer = namer
-These are not “true” .gz files, as they are bare compressed data, with no
-“container” such as you’d find in an actual gzip file. This snippet is just
+These are not "true" .gz files, as they are bare compressed data, with no
+"container" such as you’d find in an actual gzip file. This snippet is just
for illustration purposes.
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index 183d5f9..51e476b 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -209,7 +209,7 @@ need to override.
The default implementation calls the 'namer' attribute of the handler,
if it's callable, passing the default name to it. If the attribute isn't
- callable (the default is `None`), the name is returned unchanged.
+ callable (the default is ``None``), the name is returned unchanged.
:param default_name: The default name for the log file.
@@ -222,7 +222,7 @@ need to override.
The default implementation calls the 'rotator' attribute of the handler,
if it's callable, passing the source and dest arguments to it. If the
- attribute isn't callable (the default is `None`), the source is simply
+ attribute isn't callable (the default is ``None``), the source is simply
renamed to the destination.
:param source: The source filename. This is normally the base
@@ -780,7 +780,7 @@ should, then :meth:`flush` is expected to do the needful.
.. method:: close()
- Calls :meth:`flush`, sets the target to :const:`None` and clears the
+ Calls :meth:`flush`, sets the target to ``None`` and clears the
buffer.