Skip to content

Commit 62ac248

Browse files
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent ed7c53d commit 62ac248

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/c-api/intro.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ complete listing.
171171
172172
Specify alignment to *num* bytes on compilers that support it.
173173

174-
This does not use the C11 standard ``_Alignas`` specifier; prefer use of
175-
that over this macro.
174+
Consider using the C11 standard ``_Alignas`` specifier over this macro.
176175

177176
.. c:macro:: Py_ARITHMETIC_RIGHT_SHIFT(type, integer, positions)
178177
@@ -344,7 +343,7 @@ complete listing.
344343
that no information was lost with the cast from *larger* to *smaller*.
345344

346345
*value*, *larger*, and *smaller* may all be evaluated more than once in the
347-
expression; as a consequence, do not pass an expensive operation directly to
346+
expression; consequently, do not pass an expensive operation directly to
348347
this macro.
349348

350349
.. c:macro:: Py_STRINGIFY(x)
@@ -360,7 +359,7 @@ complete listing.
360359
literal instead. This is done by appending ``U`` to the result of ``Py_LL``.
361360

362361
In modern versions of Python, this macro is not very useful, as C99 and
363-
later require the ``ULL``/``LLU`` suffix to be valid for an integer.
362+
later require the ``ULL``/``LLU`` suffixes to be valid for an integer.
364363

365364
.. c:macro:: Py_UNREACHABLE()
366365

0 commit comments

Comments
 (0)