]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bug #1313, fix typo (wrong variable name) in example.
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 23 Oct 2007 05:44:27 +0000 (05:44 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 23 Oct 2007 05:44:27 +0000 (05:44 +0000)
Doc/library/logging.rst

index 1dbb343ff9350d7cf54a29ffb94fb11521f855bb..313505ced26ae5fa8d7279d48d46976a53490008 100644 (file)
@@ -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)