[Python-checkins] r55155 - python/branches/release25-maint/Doc/lib/liblogging.tex
georg.brandl
python-checkins at python.org
Sat May 5 20:57:10 CEST 2007
Author: georg.brandl
Date: Sat May 5 20:57:09 2007
New Revision: 55155
Modified:
python/branches/release25-maint/Doc/lib/liblogging.tex
Log:
Bug #1713535 backport.
Modified: python/branches/release25-maint/Doc/lib/liblogging.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/liblogging.tex (original)
+++ python/branches/release25-maint/Doc/lib/liblogging.tex Sat May 5 20:57:09 2007
@@ -203,7 +203,7 @@
\begin{verbatim}
FORMAT = "%(asctime)-15s %(clientip)s %(user)-8s %(message)s"
logging.basicConfig(format=FORMAT)
- dict = { 'clientip' : '192.168.0.1', 'user' : 'fbloggs' }
+ d = {'clientip': '192.168.0.1', 'user': 'fbloggs'}
logging.warning("Protocol problem: %s", "connection reset", extra=d)
\end{verbatim}
More information about the Python-checkins
mailing list