diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-28 10:26:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 10:26:28 (GMT) |
commit | 0aa58fa7a62cd0ee7ec27fa87122425aeff0467d (patch) | |
tree | ec5d56209a18be3651d4706f7d9a2084bcb293bb /Doc/library/logging.handlers.rst | |
parent | a43cc3fa1ffebfd15eff2c6d8e5433a17969e348 (diff) | |
download | cpython-0aa58fa7a62cd0ee7ec27fa87122425aeff0467d.zip cpython-0aa58fa7a62cd0ee7ec27fa87122425aeff0467d.tar.gz cpython-0aa58fa7a62cd0ee7ec27fa87122425aeff0467d.tar.bz2 |
gh-107091: Fix some uses of :const: role (GH-107379)
It is for references, not for literals.
Diffstat (limited to 'Doc/library/logging.handlers.rst')
-rw-r--r-- | Doc/library/logging.handlers.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst index 72e5ffb..2a825db 100644 --- a/Doc/library/logging.handlers.rst +++ b/Doc/library/logging.handlers.rst @@ -97,7 +97,7 @@ sends logging output to a disk file. It inherits the output functionality from Returns a new instance of the :class:`FileHandler` class. The specified file is opened and used as the stream for logging. If *mode* is not specified, - :const:`'a'` is used. If *encoding* is not ``None``, it is used to open the file + ``'a'`` is used. If *encoding* is not ``None``, it is used to open the file with that encoding. If *delay* is true, then file opening is deferred until the first call to :meth:`emit`. By default, the file grows indefinitely. If *errors* is specified, it's used to determine how encoding errors are handled. @@ -182,7 +182,7 @@ for this value. Returns a new instance of the :class:`WatchedFileHandler` class. The specified file is opened and used as the stream for logging. If *mode* is not specified, - :const:`'a'` is used. If *encoding* is not ``None``, it is used to open the file + ``'a'`` is used. If *encoding* is not ``None``, it is used to open the file with that encoding. If *delay* is true, then file opening is deferred until the first call to :meth:`emit`. By default, the file grows indefinitely. If *errors* is provided, it determines how encoding errors are handled. |