From a90cd0c2ed65fd8bfcf2910a12bb95ad9b681c66 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Fri, 3 Dec 2010 13:01:11 +0000 Subject: logging: tidied up some docstrings. --- Lib/logging/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lib/logging') diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 5256f9511e..04d9f30523 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 -- cgit v1.2.1