summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-12-03 13:01:11 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-12-03 13:01:11 (GMT)
commitfad058f0caca689fffad29617d0858caa13291ad (patch)
tree22d2fbbfe3f142af838d95f7a1a76f59080035a7 /Lib/logging/__init__.py
parent3ab34ccae3b7475499dce93c13eba3d2e2e1be96 (diff)
downloadcpython-fad058f0caca689fffad29617d0858caa13291ad.zip
cpython-fad058f0caca689fffad29617d0858caa13291ad.tar.gz
cpython-fad058f0caca689fffad29617d0858caa13291ad.tar.bz2
logging: tidied up some docstrings.
Diffstat (limited to 'Lib/logging/__init__.py')
-rw-r--r--Lib/logging/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 5256f95..04d9f30 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -326,7 +326,7 @@ _logRecordFactory = LogRecord
def setLogRecordFactory(factory):
"""
- Set the class to be used when instantiating a log record.
+ Set the factory to be used when instantiating a log record.
:param factory: A callable which will be called to instantiate
a log record.
@@ -336,7 +336,7 @@ def setLogRecordFactory(factory):
def getLogRecordFactory():
"""
- Return the class to be used when instantiating a log record.
+ Return the factory to be used when instantiating a log record.
"""
return _logRecordFactory
@@ -1105,7 +1105,7 @@ class Manager(object):
def setLogRecordFactory(self, factory):
"""
- Set the class to be used when instantiating a log record with this
+ Set the factory to be used when instantiating a log record with this
Manager.
"""
self.logRecordFactory = factory