summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-08-09 21:20:41 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-08-09 21:20:41 (GMT)
commit2f47fb00211ab99924ea5ae2d576bc3c6ba8952f (patch)
treea74dd509c6c2e12d1bbdc50156fe512d2c044be1 /Doc
parent085e806798f4f70e70a9c8cba31f240d8fd668b3 (diff)
downloadcpython-2f47fb00211ab99924ea5ae2d576bc3c6ba8952f.zip
cpython-2f47fb00211ab99924ea5ae2d576bc3c6ba8952f.tar.gz
cpython-2f47fb00211ab99924ea5ae2d576bc3c6ba8952f.tar.bz2
Correct signatures for a couple of logging handlers
Reported by Oleg Gromyak on docs@
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/logging.handlers.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index 855adab..916b702 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -152,7 +152,7 @@ exclusive locks - and so there is no need for such a handler. Furthermore,
for this value.
-.. class:: WatchedFileHandler(filename[,mode[, encoding[, delay]]])
+.. class:: WatchedFileHandler(filename, mode='a', encoding=None, delay=False)
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,
@@ -257,7 +257,7 @@ The :class:`RotatingFileHandler` class, located in the :mod:`logging.handlers`
module, supports rotation of disk log files.
-.. class:: RotatingFileHandler(filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=0)
+.. class:: RotatingFileHandler(filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=False)
Returns a new instance of the :class:`RotatingFileHandler` class. The specified
file is opened and used as the stream for logging. If *mode* is not specified,