mirror of
https://github.com/python/cpython.git
synced 2026-01-04 06:22:20 +00:00
bpo-36321: Fix misspelled attribute name in namedtuple() (GH-16858)
This commit is contained in:
parent
24dc2f8c56
commit
58ccd201fa
2 changed files with 2 additions and 2 deletions
|
|
@ -425,8 +425,6 @@ def __getnewargs__(self):
|
|||
'__slots__': (),
|
||||
'_fields': field_names,
|
||||
'_field_defaults': field_defaults,
|
||||
# alternate spelling for backward compatibility
|
||||
'_fields_defaults': field_defaults,
|
||||
'__new__': __new__,
|
||||
'_make': _make,
|
||||
'_replace': _replace,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
Remove misspelled attribute. The 3.8 changelog noted that this would be
|
||||
removed in 3.9.
|
||||
Loading…
Add table
Add a link
Reference in a new issue