From: Amador Pahim Date: Fri, 1 Feb 2019 20:38:57 +0000 (+0100) Subject: bpo-35864: fix namedtuple._asdict() docstring (GH-11720) X-Git-Tag: v3.8.0a1~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85d83ec7c99727476c79feb5c34c65264a99144e;p=thirdparty%2FPython%2Fcpython.git bpo-35864: fix namedtuple._asdict() docstring (GH-11720) --- diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index 835cc363d10a..aee79b931602 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -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):