[Python-checkins] cpython: Use ASCII quotes and fix markup.
ezio.melotti
python-checkins at python.org
Wed Jan 18 04:40:11 CET 2012
http://hg.python.org/cpython/rev/6a6b226961aa
changeset: 74485:6a6b226961aa
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Wed Jan 18 05:40:00 2012 +0200
summary:
Use ASCII quotes and fix markup.
files:
Doc/howto/logging-cookbook.rst | 4 ++--
Doc/library/logging.handlers.rst | 6 +++---
2 files changed, 5 insertions(+), 5 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
@@ -1126,7 +1126,7 @@
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
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -209,7 +209,7 @@
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 @@
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 @@
.. 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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list