https://github.com/python/cpython/commit/77ced7601ccfc288b05f0da8f1b52d49388d637b
commit: 77ced7601ccfc288b05f0da8f1b52d49388d637b
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2024-07-04T13:53:41Z
summary:

[3.13] gh-121355: Fix incorrect word in simple_stmts.rst (GH-121356) (#121362)

(cherry picked from commit 715ec630dd78819ed79cad5ac28617daefe1e745)

Co-authored-by: Jongbum Won <[email protected]>

files:
M Doc/reference/simple_stmts.rst

diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 4f6c0c63ae42be..618664b23f0680 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -293,7 +293,7 @@ statements, cannot be an unpacking) and the expression 
list, performs the binary
 operation specific to the type of assignment on the two operands, and assigns
 the result to the original target.  The target is only evaluated once.
 
-An augmented assignment expression like ``x += 1`` can be rewritten as ``x = x 
+
+An augmented assignment statement like ``x += 1`` can be rewritten as ``x = x +
 1`` to achieve a similar, but not exactly equal effect. In the augmented
 version, ``x`` is only evaluated once. Also, when possible, the actual 
operation
 is performed *in-place*, meaning that rather than creating a new object and

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to