From cc40ff831cb12dd2df69a5d73e7ccb792d3088c8 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 5 May 2007 18:55:37 +0000 Subject: [PATCH] Bug #1713535: typo in logging example. --- 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 58595f7c15..5783cbf44e 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} -- 2.50.0