diff options
author | Necdet Can Atesman <can@atesman.at> | 2020-10-16 14:14:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 14:14:07 (GMT) |
commit | e9959c71185d0850c84e3aba0301fbc238f194a9 (patch) | |
tree | 6df9b7289ed1568445b6ace06fb38d667ebe8d94 /Lib/logging | |
parent | c9f696cb96d1c362d5cad871f61da520572d9b08 (diff) | |
download | cpython-e9959c71185d0850c84e3aba0301fbc238f194a9.zip cpython-e9959c71185d0850c84e3aba0301fbc238f194a9.tar.gz cpython-e9959c71185d0850c84e3aba0301fbc238f194a9.tar.bz2 |
bpo-42011: Update documentation of logging.Filter.filter() (GH-22692)
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 787cb4e..265e286 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -763,8 +763,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 |