diff options
author | Georg Brandl <georg@python.org> | 2007-05-05 18:55:37 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-05-05 18:55:37 (GMT) |
commit | cc40ff831cb12dd2df69a5d73e7ccb792d3088c8 (patch) | |
tree | 8c17600f410c619bd7394e184b78fe036aaba5ce /Doc/lib/liblogging.tex | |
parent | 229cee2d3dc2d962d5cbda96f2411c5cec0a9293 (diff) | |
download | cpython-cc40ff831cb12dd2df69a5d73e7ccb792d3088c8.zip cpython-cc40ff831cb12dd2df69a5d73e7ccb792d3088c8.tar.gz cpython-cc40ff831cb12dd2df69a5d73e7ccb792d3088c8.tar.bz2 |
Bug #1713535: typo in logging example.
Diffstat (limited to 'Doc/lib/liblogging.tex')
-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 58595f7..5783cbf 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} |