Skip to content

Commit

Permalink
Correct signatures for a couple of logging handlers
Browse files Browse the repository at this point in the history
Reported by Oleg Gromyak on docs@
  • Loading branch information
zware committed Aug 9, 2016
1 parent 085e806 commit 2f47fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/logging.handlers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2f47fb0

Please sign in to comment.