]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35864: fix namedtuple._asdict() docstring (GH-11720)
authorAmador Pahim <amador@pahim.org>
Fri, 1 Feb 2019 20:38:57 +0000 (21:38 +0100)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Fri, 1 Feb 2019 20:38:57 +0000 (12:38 -0800)
Lib/collections/__init__.py

index 835cc363d10ad446db829f63825eb5657529ff46..aee79b93160249a94bd3dcf4d116323afcfc8612 100644 (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):