Commit 85d83ec7 authored by Amador Pahim's avatar Amador Pahim Committed by Raymond Hettinger

bpo-35864: fix namedtuple._asdict() docstring (GH-11720)

parent 075de6cf
......@@ -429,7 +429,7 @@ def namedtuple(typename, field_names, *, rename=False, defaults=None, module=Non
_dict, _zip = dict, zip
def _asdict(self):
'Return a new OrderedDict which maps field names to their values.'
'Return a new dict which maps field names to their values.'
return _dict(_zip(self._fields, self))
def __getnewargs__(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment