New submission from Jonathan <bugrepo...@lightpear.com>:

https://docs.python.org/2/library/logging.handlers.html
https://docs.python.org/3/library/logging.handlers.html

Both say:

"""class logging.StreamHandler(stream=None)

Returns a new instance of the StreamHandler class. If stream is specified, the 
instance will use it for logging output; otherwise, sys.stderr will be used."""

Surely that means from an user perspective that the default is actually 
`sys.stderr`, not `None`?

----------
assignee: docs@python
components: Documentation
messages: 347677
nosy: docs@python, jonathan-lp
priority: normal
severity: normal
status: open
title: Documentation - default for StreamHandler
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37563>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to