We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 967fdda commit 8f7eab7Copy full SHA for 8f7eab7
Lib/logging/__init__.py
@@ -753,8 +753,8 @@ def filter(self, record):
753
"""
754
Determine if the specified record is to be logged.
755
756
- Is the specified record to be logged? Returns 0 for no, nonzero for
757
- 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.
758
759
if self.nlen == 0:
760
return True
0 commit comments