bpo-42011: Update documentation of logging.Filter.filter() (GH-22692) (GH-22725)

(cherry picked from commit e9959c71185d0850c84e3aba0301fbc238f194a9)
This commit is contained in:
Miss Skeleton (bot) 2020-10-16 10:21:49 -07:00 committed by GitHub
parent b30934e9af
commit dff9161821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -748,8 +748,8 @@ class Filter(object):
"""
Determine if the specified record is to be logged.
Is the specified record to be logged? Returns 0 for no, nonzero for
yes. If deemed appropriate, the record may be modified in-place.
Returns True if the record should be logged, or False otherwise.
If deemed appropriate, the record may be modified in-place.
"""
if self.nlen == 0:
return True