From 9ba8b0a117135083b7955e8089cdeffd8902350d Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 17 Jan 2011 23:42:17 +0000 Subject: [PATCH] Add an import to the logging example --- Doc/whatsnew/3.2.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 1128c28d1c..b65696d440 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -208,6 +208,7 @@ dictionary:: 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") -- 2.40.0