mirror of
https://github.com/python/cpython.git
synced 2025-09-09 02:11:51 +00:00
Use ASCII quotes and fix markup.
This commit is contained in:
parent
2c5b688081
commit
226231c930
2 changed files with 5 additions and 5 deletions
|
@ -1126,7 +1126,7 @@ snippet, which shows zlib-based compression of the log file::
|
||||||
rh.rotator = rotator
|
rh.rotator = rotator
|
||||||
rh.namer = namer
|
rh.namer = namer
|
||||||
|
|
||||||
These are not “true” .gz files, as they are bare compressed data, with no
|
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
|
"container" such as you’d find in an actual gzip file. This snippet is just
|
||||||
for illustration purposes.
|
for illustration purposes.
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ need to override.
|
||||||
|
|
||||||
The default implementation calls the 'namer' attribute of the handler,
|
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
|
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.
|
: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,
|
The default implementation calls the 'rotator' attribute of the handler,
|
||||||
if it's callable, passing the source and dest arguments to it. If the
|
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.
|
renamed to the destination.
|
||||||
|
|
||||||
:param source: The source filename. This is normally the base
|
: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()
|
.. 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.
|
buffer.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue