From: Georg Brandl Date: Sat, 5 May 2007 18:57:09 +0000 (+0000) Subject: Bug #1713535 backport. X-Git-Tag: v2.5.2c1~314 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e6b5e9eade84f25e6d4d7c609e4931a73a9db97;p=thirdparty%2FPython%2Fcpython.git Bug #1713535 backport. --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index d1d2a3b2aea7..48fd425fbec4 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}