From 85d83ec7c99727476c79feb5c34c65264a99144e Mon Sep 17 00:00:00 2001 From: Amador Pahim Date: Fri, 1 Feb 2019 21:38:57 +0100 Subject: bpo-35864: fix namedtuple._asdict() docstring (GH-11720) --- Lib/collections/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index 835cc36..aee79b9 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): -- cgit v0.12