Skip to content

Commit 715ec63

Browse files
authored
gh-121355: Fix incorrect word in simple_stmts.rst (#121356)
1 parent 06a1c3f commit 715ec63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/simple_stmts.rst

+1-1
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)