Skip to content

Commit b91fbbe

Browse files
Apply suggestions from code review
1 parent aadcade commit b91fbbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/intro.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ complete listing.
184184

185185
Both *integer* and *positions* can be evaluated more than once;
186186
consequently, avoid directly passing a function call or some other
187-
expensive operation to this macro. Instead, store the result as a
187+
operation with side-effects to this macro. Instead, store the result as a
188188
variable and then pass it.
189189

190190
*type* is unused and only kept for backwards compatibility. Historically,
@@ -343,7 +343,7 @@ complete listing.
343343
that no information was lost with the cast from *larger* to *smaller*.
344344

345345
*value*, *larger*, and *smaller* may all be evaluated more than once in the
346-
expression; consequently, do not pass an expensive operation directly to
346+
expression; consequently, do not pass an expression with side-effects directly to
347347
this macro.
348348

349349
.. c:macro:: Py_STRINGIFY(x)

0 commit comments

Comments
 (0)