mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Issue #8162: logging: Clarified docstring and documentation for disable function.
This commit is contained in:
parent
187f93d986
commit
2060e42206
2 changed files with 6 additions and 2 deletions
|
@ -1557,7 +1557,7 @@ def log(level, msg, *args, **kwargs):
|
|||
|
||||
def disable(level):
|
||||
"""
|
||||
Disable all logging calls less severe than 'level'.
|
||||
Disable all logging calls of severity 'level' and below.
|
||||
"""
|
||||
root.manager.disable = level
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue