summaryrefslogtreecommitdiffstats
path: root/Doc/lib/liblogging.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-05-05 18:55:37 (GMT)
committerGeorg Brandl <georg@python.org>2007-05-05 18:55:37 (GMT)
commitcc40ff831cb12dd2df69a5d73e7ccb792d3088c8 (patch)
tree8c17600f410c619bd7394e184b78fe036aaba5ce /Doc/lib/liblogging.tex
parent229cee2d3dc2d962d5cbda96f2411c5cec0a9293 (diff)
downloadcpython-cc40ff831cb12dd2df69a5d73e7ccb792d3088c8.zip
cpython-cc40ff831cb12dd2df69a5d73e7ccb792d3088c8.tar.gz
cpython-cc40ff831cb12dd2df69a5d73e7ccb792d3088c8.tar.bz2
Bug #1713535: typo in logging example.
Diffstat (limited to 'Doc/lib/liblogging.tex')
-rw-r--r--Doc/lib/liblogging.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex
index 58595f7..5783cbf 100644
--- a/Doc/lib/liblogging.tex
+++ b/Doc/lib/liblogging.tex
@@ -203,7 +203,7 @@ logged messages. For example:
\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}