mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
bpo-42011: Update documentation of logging.Filter.filter() (GH-22692)
This commit is contained in:
parent
c9f696cb96
commit
e9959c7118
1 changed files with 2 additions and 2 deletions
|
@ -763,8 +763,8 @@ class Filter(object):
|
||||||
"""
|
"""
|
||||||
Determine if the specified record is to be logged.
|
Determine if the specified record is to be logged.
|
||||||
|
|
||||||
Is the specified record to be logged? Returns 0 for no, nonzero for
|
Returns True if the record should be logged, or False otherwise.
|
||||||
yes. If deemed appropriate, the record may be modified in-place.
|
If deemed appropriate, the record may be modified in-place.
|
||||||
"""
|
"""
|
||||||
if self.nlen == 0:
|
if self.nlen == 0:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue