[Python-checkins] r88079 - python/branches/py3k/Doc/whatsnew/3.2.rst

raymond.hettinger python-checkins at python.org
Tue Jan 18 00:42:17 CET 2011


Author: raymond.hettinger
Date: Tue Jan 18 00:42:17 2011
New Revision: 88079

Log:
Add an import to the logging example


Modified:
   python/branches/py3k/Doc/whatsnew/3.2.rst

Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst	Tue Jan 18 00:42:17 2011
@@ -208,6 +208,7 @@
 If that dictionary is stored in a file called :file:`conf.json`, it can be
 loaded and called with code like this::
 
+   import json
    import logging.config
    logging.config.dictConfig(json.load(open('conf.json', 'rb')))
    logging.info("Transaction completed normally")


More information about the Python-checkins mailing list