diff options
author | Georg Brandl <georg@python.org> | 2007-05-05 18:55:37 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-05-05 18:55:37 +0000 |
commit | cc40ff831cb12dd2df69a5d73e7ccb792d3088c8 (patch) | |
tree | 8c17600f410c619bd7394e184b78fe036aaba5ce | |
parent | 229cee2d3dc2d962d5cbda96f2411c5cec0a9293 (diff) | |
download | cpython-git-cc40ff831cb12dd2df69a5d73e7ccb792d3088c8.tar.gz |
Bug #1713535: typo in logging example.
-rw-r--r-- | Doc/lib/liblogging.tex | 2 |
1 files changed, 1 insertions, 1 deletions
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} |