diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-26 06:03:19 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-26 06:03:19 (GMT) |
commit | 3e04d5b3068ac67cc01a32b1d5a51ac79c9df5a1 (patch) | |
tree | 31de97216c771e456051ddbe31fc338ddf0f8b9f /Lib/collections | |
parent | 4d4bc42c8b2b4b546b36e0c3ecb1e86d57017cee (diff) | |
parent | 46f50726a0047ae81d478c3a206f587b8f35ed08 (diff) | |
download | cpython-3e04d5b3068ac67cc01a32b1d5a51ac79c9df5a1.zip cpython-3e04d5b3068ac67cc01a32b1d5a51ac79c9df5a1.tar.gz cpython-3e04d5b3068ac67cc01a32b1d5a51ac79c9df5a1.tar.bz2 |
Issue #27076: Merge spelling from 3.5
Diffstat (limited to 'Lib/collections')
-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 e5497b3..d6dd7ef 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -365,7 +365,7 @@ def namedtuple(typename, field_names, verbose=False, rename=False): >>> x, y = p # unpack like a regular tuple >>> x, y (11, 22) - >>> p.x + p.y # fields also accessable by name + >>> p.x + p.y # fields also accessible by name 33 >>> d = p._asdict() # convert to a dictionary >>> d['x'] |