From 28dff612876096af152c377c14ad60f9e134831a Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 23 Mar 2011 13:05:02 -0700 Subject: Add news entry for the _source attribute created by namedtuple. --- Misc/NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 64a35dd..0a42987 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -87,6 +87,11 @@ Library - Issue #11591: Prevent "import site" from modifying sys.path when python was started with -S. +- collections.namedtuple() now adds a _source attribute to the generated + class. This make the source more accessible than the outdated + "verbose" option which prints to stdout but doesn't make the source + string available. + - Issue #11371: Mark getopt error messages as localizable. Patch by Filip GruszczyƄski. -- cgit v0.12