New submission from Alex Wells <alex.we...@diamond.ac.uk>:

The documentation for multiprocessing.log_to_stderr() specifies that the method 
takes no parameters. However, intellisense in VSCode and debugging the method 
both show that there is a single parameter, "level", whose default value is 
None. 
Documentation here:
https://docs.python.org/3.7/library/multiprocessing.html#multiprocessing.log_to_stderr

The parameter appears to be a shorthand to allow you to both get the logger and 
specify the required log level in one step, rather than two. The code that 
handles the "level" parameter appears to do what I'd expect it to do.

I think the documentation simply needs a few words written about the parameter.

Thanks.

----------
assignee: docs@python
components: Documentation
messages: 404965
nosy: AlexWells, docs@python
priority: normal
severity: normal
status: open
title: multiprocessing.log_to_stderr missing documentation for parameter
type: enhancement
versions: Python 3.7

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

Reply via email to