diff options
author | Amador Pahim <amador@pahim.org> | 2019-02-01 20:38:57 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-02-01 20:38:57 (GMT) |
commit | 85d83ec7c99727476c79feb5c34c65264a99144e (patch) | |
tree | 50bdc698f631875ff5f7bc290686d0ec1bcb43cb /Lib | |
parent | 075de6cf6cb0f5f4d3711fc07f023a9a7a0a816b (diff) | |
download | cpython-85d83ec7c99727476c79feb5c34c65264a99144e.zip cpython-85d83ec7c99727476c79feb5c34c65264a99144e.tar.gz cpython-85d83ec7c99727476c79feb5c34c65264a99144e.tar.bz2 |
bpo-35864: fix namedtuple._asdict() docstring (GH-11720)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/collections/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |