summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-03-18 07:27:39 (GMT)
committerGitHub <noreply@github.com>2019-03-18 07:27:39 (GMT)
commit23581c018fceb607fe829a41c6fbe81b4d502cab (patch)
tree9c8f76fb525ad1ac974a08ebac92812db7feeefa /Misc/NEWS.d/next
parent6a16b18224fa98f6d192aa5014affeccc0376eb3 (diff)
downloadcpython-23581c018fceb607fe829a41c6fbe81b4d502cab.zip
cpython-23581c018fceb607fe829a41c6fbe81b4d502cab.tar.gz
cpython-23581c018fceb607fe829a41c6fbe81b4d502cab.tar.bz2
bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2019-03-16-13-40-59.bpo-36321.s6crQx.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-03-16-13-40-59.bpo-36321.s6crQx.rst b/Misc/NEWS.d/next/Library/2019-03-16-13-40-59.bpo-36321.s6crQx.rst
new file mode 100644
index 0000000..eea6f54
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-03-16-13-40-59.bpo-36321.s6crQx.rst
@@ -0,0 +1,5 @@
+collections.namedtuple() misspelled the name of an attribute. To be
+consistent with typing.NamedTuple, the attribute name should have been
+"_field_defaults" instead of "_fields_defaults". For backwards
+compatibility, both spellings are now created. The misspelled version may
+be removed in the future.