Message404965
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. |
|
Date |
User |
Action |
Args |
2021-10-25 14:34:49 | AlexWells | set | recipients:
+ AlexWells, docs@python |
2021-10-25 14:34:49 | AlexWells | set | messageid: <1635172489.58.0.649582586734.issue45604@roundup.psfhosted.org> |
2021-10-25 14:34:49 | AlexWells | link | issue45604 messages |
2021-10-25 14:34:49 | AlexWells | create | |
|