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
226231c9
Commit
226231c9
authored
Jan 18, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ASCII quotes and fix markup.
parent
2c5b6880
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Doc/howto/logging-cookbook.rst
Doc/howto/logging-cookbook.rst
+2
-2
Doc/library/logging.handlers.rst
Doc/library/logging.handlers.rst
+3
-3
No files found.
Doc/howto/logging-cookbook.rst
View file @
226231c9
...
...
@@ -1126,7 +1126,7 @@ snippet, which shows zlib-based compression of the log file::
rh.rotator = rotator
rh.namer = namer
These are not
“true”
.gz files, as they are bare compressed data, with no
“container”
such as you’d find in an actual gzip file. This snippet is just
These are not
"true"
.gz files, as they are bare compressed data, with no
"container"
such as you’d find in an actual gzip file. This snippet is just
for illustration purposes.
Doc/library/logging.handlers.rst
View file @
226231c9
...
...
@@ -209,7 +209,7 @@ need to override.
The default implementation calls the 'namer' attribute of the handler,
if it's callable, passing the default name to it. If the attribute isn't
callable (the default is `
None
`), the name is returned unchanged.
callable (the default is `
`None`
`), the name is returned unchanged.
:param default_name: The default name for the log file.
...
...
@@ -222,7 +222,7 @@ need to override.
The default implementation calls the 'rotator' attribute of the handler,
if it's callable, passing the source and dest arguments to it. If the
attribute isn't callable (the default is `
None
`), the source is simply
attribute isn't callable (the default is `
`None`
`), the source is simply
renamed to the destination.
:param source: The source filename. This is normally the base
...
...
@@ -780,7 +780,7 @@ should, then :meth:`flush` is expected to do the needful.
.. method:: close()
Calls :meth:`flush`, sets the target to
:const:`None
` and clears the
Calls :meth:`flush`, sets the target to
``None`
` and clears the
buffer.
...
...
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