diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-03-09 22:51:16 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-03-09 22:51:16 (GMT) |
commit | 14d7b718bacb6b8a0702489d04895ea4e4b11131 (patch) | |
tree | 65db0504530f77bc40e62a45e122cd7f2b078381 /Doc/faq/programming.rst | |
parent | 6120739f0cb1c26069570fea701fe79489f1cd9d (diff) | |
download | cpython-14d7b718bacb6b8a0702489d04895ea4e4b11131.zip cpython-14d7b718bacb6b8a0702489d04895ea4e4b11131.tar.gz cpython-14d7b718bacb6b8a0702489d04895ea4e4b11131.tar.bz2 |
#19953: Clarify the wording of the augmented assignment discussion.
Patch by Priya Pappachan, based on suggestions from Terry Reedy
and myself.
Diffstat (limited to 'Doc/faq/programming.rst')
-rw-r--r-- | Doc/faq/programming.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 42e55d6..280d5e1 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -1103,6 +1103,7 @@ Use a list comprehension:: result = [obj.method() for obj in mylist] +.. _faq-augmented-assignment-tuple-error: Why does a_tuple[i] += ['item'] raise an exception when the addition works? --------------------------------------------------------------------------- |