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 c9f696c commit e9959c7Copy full SHA for e9959c7
Lib/logging/__init__.py
@@ -763,8 +763,8 @@ def filter(self, record):
763
"""
764
Determine if the specified record is to be logged.
765
766
- Is the specified record to be logged? Returns 0 for no, nonzero for
767
- 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.
768
769
if self.nlen == 0:
770
return True
0 commit comments