summaryrefslogtreecommitdiffstats
path: root/Lib/collections
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-10-20 17:19:47 (GMT)
committerGitHub <noreply@github.com>2019-10-20 17:19:47 (GMT)
commit58ccd201fa74287ca9293c03136fcf1e19800ef9 (patch)
treedbf6bc18e3559f385aa41b047a50bc5718a15116 /Lib/collections
parent24dc2f8c56697f9ee51a4887cf0814b6600c1815 (diff)
downloadcpython-58ccd201fa74287ca9293c03136fcf1e19800ef9.zip
cpython-58ccd201fa74287ca9293c03136fcf1e19800ef9.tar.gz
cpython-58ccd201fa74287ca9293c03136fcf1e19800ef9.tar.bz2
bpo-36321: Fix misspelled attribute name in namedtuple() (GH-16858)
Diffstat (limited to 'Lib/collections')
-rw-r--r--Lib/collections/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index 2fc71e2..cec6c97 100644
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -425,8 +425,6 @@ def namedtuple(typename, field_names, *, rename=False, defaults=None, module=Non
'__slots__': (),
'_fields': field_names,
'_field_defaults': field_defaults,
- # alternate spelling for backward compatibility
- '_fields_defaults': field_defaults,
'__new__': __new__,
'_make': _make,
'_replace': _replace,