diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-10-23 05:44:27 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-10-23 05:44:27 (GMT) |
commit | 530042816c837730b7498f2e1bcda98b40031273 (patch) | |
tree | 454804aab1093d9d7fa108c2cc297af0175c6efe | |
parent | 8feafab3462500d33c0bc98787649db4502894f8 (diff) | |
download | cpython-530042816c837730b7498f2e1bcda98b40031273.zip cpython-530042816c837730b7498f2e1bcda98b40031273.tar.gz cpython-530042816c837730b7498f2e1bcda98b40031273.tar.bz2 |
Bug #1313, fix typo (wrong variable name) in example.
-rw-r--r-- | Doc/library/logging.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 1dbb343..313505c 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) |