summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJongbum Won <71166964+Wondaeng@users.noreply.github.com>2024-07-04 13:34:34 (GMT)
committerGitHub <noreply@github.com>2024-07-04 13:34:34 (GMT)
commit715ec630dd78819ed79cad5ac28617daefe1e745 (patch)
tree2887b369cb9e7488452ccfa2896872058f9e5c72
parent06a1c3fb24c4be9ce3b432022ebaf3f913f86ba7 (diff)
downloadcpython-715ec630dd78819ed79cad5ac28617daefe1e745.zip
cpython-715ec630dd78819ed79cad5ac28617daefe1e745.tar.gz
cpython-715ec630dd78819ed79cad5ac28617daefe1e745.tar.bz2
gh-121355: Fix incorrect word in simple_stmts.rst (#121356)
-rw-r--r--Doc/reference/simple_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 4f6c0c6..618664b 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