Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1aa913e

Browse files
committed
Merge with 3.5
2 parents 3f2de47 + 2f47fb0 commit 1aa913e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/logging.handlers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ exclusive locks - and so there is no need for such a handler. Furthermore,
155155
for this value.
156156

157157

158-
.. class:: WatchedFileHandler(filename[,mode[, encoding[, delay]]])
158+
.. class:: WatchedFileHandler(filename, mode='a', encoding=None, delay=False)
159159

160160
Returns a new instance of the :class:`WatchedFileHandler` class. The specified
161161
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`
271271
module, supports rotation of disk log files.
272272

273273

274-
.. class:: RotatingFileHandler(filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=0)
274+
.. class:: RotatingFileHandler(filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=False)
275275

276276
Returns a new instance of the :class:`RotatingFileHandler` class. The specified
277277
file is opened and used as the stream for logging. If *mode* is not specified,

0 commit comments

Comments
 (0)