Skip to content

Commit 58ccd20

Browse files
authored
bpo-36321: Fix misspelled attribute name in namedtuple() (GH-16858)
1 parent 24dc2f8 commit 58ccd20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/collections/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,6 @@ def __getnewargs__(self):
425425
'__slots__': (),
426426
'_fields': field_names,
427427
'_field_defaults': field_defaults,
428-
# alternate spelling for backward compatibility
429-
'_fields_defaults': field_defaults,
430428
'__new__': __new__,
431429
'_make': _make,
432430
'_replace': _replace,
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove misspelled attribute. The 3.8 changelog noted that this would be
2+
removed in 3.9.

0 commit comments

Comments
 (0)