Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
58ccd201
Commit
58ccd201
authored
Oct 20, 2019
by
Raymond Hettinger
Committed by
GitHub
Oct 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-36321: Fix misspelled attribute name in namedtuple() (GH-16858)
parent
24dc2f8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/collections/__init__.py
Lib/collections/__init__.py
+0
-2
Misc/NEWS.d/next/Library/2019-10-19-21-41-20.bpo-36321.CFlxfy.rst
...S.d/next/Library/2019-10-19-21-41-20.bpo-36321.CFlxfy.rst
+2
-0
No files found.
Lib/collections/__init__.py
View file @
58ccd201
...
...
@@ -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
,
...
...
Misc/NEWS.d/next/Library/2019-10-19-21-41-20.bpo-36321.CFlxfy.rst
0 → 100644
View file @
58ccd201
Remove misspelled attribute. The 3.8 changelog noted that this would be
removed in 3.9.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment