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

This commit is contained in:
Amador Pahim 2019-02-01 21:38:57 +01:00 committed by Raymond Hettinger
parent 075de6cf6c
commit 85d83ec7c9
1 changed files with 1 additions and 1 deletions

View File

@ -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):