mirror of
https://github.com/python/cpython.git
synced 2025-09-07 01:11:26 +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.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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue