mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
logging: tidied up some docstrings.
This commit is contained in:
parent
3ab34ccae3
commit
fad058f0ca
1 changed files with 3 additions and 3 deletions
|
|
@ -326,7 +326,7 @@ def getMessage(self):
|
|||
|
||||
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 @@ def setLoggerClass(self, klass):
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue