Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fad058f0
Commit
fad058f0
authored
Dec 03, 2010
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logging: tidied up some docstrings.
parent
3ab34cca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/logging/__init__.py
Lib/logging/__init__.py
+3
-3
No files found.
Lib/logging/__init__.py
View file @
fad058f0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment