From 4e6b5e9eade84f25e6d4d7c609e4931a73a9db97 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 5 May 2007 18:57:09 +0000 Subject: [PATCH] Bug #1713535 backport. --- Doc/lib/liblogging.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index d1d2a3b2aea..48fd425fbec 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}