]> granicus.if.org Git - python/commitdiff
Add news entry for the _source attribute created by namedtuple.
authorRaymond Hettinger <python@rcn.com>
Wed, 23 Mar 2011 20:05:02 +0000 (13:05 -0700)
committerRaymond Hettinger <python@rcn.com>
Wed, 23 Mar 2011 20:05:02 +0000 (13:05 -0700)
Misc/NEWS

index 64a35ddf58b28db05922cc0ad99d2c1585a4999d..0a42987413d27fe58c940df6005dcc7cca1b7980 100644 (file)
--- 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.