summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.4.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 21:31:47 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 21:31:47 (GMT)
commit06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b (patch)
tree15223833b7a65c16ebd96233baa98d7997399dd9 /Doc/whatsnew/2.4.rst
parentd509788f98e5ee6ecc638daf3be27493ae74640a (diff)
downloadcpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.zip
cpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.tar.gz
cpython-06788c9fe4abfdc97d8a05bf3d8a41ef321e8c3b.tar.bz2
Fix a few remaining problems found by rstlint.
Diffstat (limited to 'Doc/whatsnew/2.4.rst')
-rw-r--r--Doc/whatsnew/2.4.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.4.rst b/Doc/whatsnew/2.4.rst
index 4ce8132..67478c2 100644
--- a/Doc/whatsnew/2.4.rst
+++ b/Doc/whatsnew/2.4.rst
@@ -1175,7 +1175,7 @@ complete list of changes, or look through the CVS logs for all the details.
import logging
logging.basicConfig(filename='/var/log/application.log',
level=0, # Log all messages
- format='%(levelname):%(process):%(thread):%(message)')
+ format='%(levelname):%(process):%(thread):%(message)')
Other additions to the :mod:`logging` package include a :meth:`log(level, msg)`
convenience method, as well as a :class:`TimedRotatingFileHandler` class that