summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-08-09 21:21:17 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-08-09 21:21:17 (GMT)
commit1aa913e13417e05939db49421c77d232ee7a2b7f (patch)
tree37c097763723064e57448c7e3b5231a1dab8dc55
parent3f2de47ae3711ce69ae9c2e1f2769928e69bb50f (diff)
parent2f47fb00211ab99924ea5ae2d576bc3c6ba8952f (diff)
downloadcpython-1aa913e13417e05939db49421c77d232ee7a2b7f.zip
cpython-1aa913e13417e05939db49421c77d232ee7a2b7f.tar.gz
cpython-1aa913e13417e05939db49421c77d232ee7a2b7f.tar.bz2
Merge with 3.5
-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 748eb31..c806558 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -155,7 +155,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,
@@ -271,7 +271,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,