From 530042816c837730b7498f2e1bcda98b40031273 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 23 Oct 2007 05:44:27 +0000 Subject: [PATCH] Bug #1313, fix typo (wrong variable name) in example. --- Doc/library/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 1dbb343ff93..313505ced26 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -438,7 +438,7 @@ instantiated directly, but always through the module-level function 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' } logger = logging.getLogger("tcpserver") logger.warning("Protocol problem: %s", "connection reset", extra=d)