summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/logging/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 79ec9ef7d5..4d9590b922 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -1652,9 +1652,15 @@ class NullHandler(Handler):
a NullHandler and add it to the top-level logger of the library module or
package.
"""
+ def handle(self, record):
+ pass
+
def emit(self, record):
pass
+ def createLock(self):
+ self.lock = None
+
# Warnings integration
_warnings_showwarning = None