Skip to content

Commit 85d83ec

Browse files
apahimrhettinger
authored andcommitted
bpo-35864: fix namedtuple._asdict() docstring (GH-11720)
1 parent 075de6c commit 85d83ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/collections/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def __repr__(self):
429429
_dict, _zip = dict, zip
430430

431431
def _asdict(self):
432-
'Return a new OrderedDict which maps field names to their values.'
432+
'Return a new dict which maps field names to their values.'
433433
return _dict(_zip(self._fields, self))
434434

435435
def __getnewargs__(self):

0 commit comments

Comments
 (0)