Skip to content

Commit 8d3f44a

Browse files
[3.12] gh-121355: Fix incorrect word in simple_stmts.rst (GH-121356) (#121363)
(cherry picked from commit 715ec63) Co-authored-by: Jongbum Won <[email protected]>
1 parent 81f5754 commit 8d3f44a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/simple_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ statements, cannot be an unpacking) and the expression list, performs the binary
293293
operation specific to the type of assignment on the two operands, and assigns
294294
the result to the original target. The target is only evaluated once.
295295

296-
An augmented assignment expression like ``x += 1`` can be rewritten as ``x = x +
296+
An augmented assignment statement like ``x += 1`` can be rewritten as ``x = x +
297297
1`` to achieve a similar, but not exactly equal effect. In the augmented
298298
version, ``x`` is only evaluated once. Also, when possible, the actual operation
299299
is performed *in-place*, meaning that rather than creating a new object and

0 commit comments

Comments
 (0)