Skip to content

Commit 0389e16

Browse files
committed
Add versionchanged.
1 parent a0f0bda commit 0389e16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/c-api/intro.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@ complete listing.
191191
*type* is the type of the expression. In modern versions of Python, this is
192192
unused. Historically, *type* was used to cast *integer*.
193193

194+
.. versionchanged:: 3.1
195+
196+
This macro is now valid for all signed integer types, not just those for
197+
which :c:expr:`unsigned type` is legal. As a result, *type* is no longer
198+
used.
199+
194200
.. c:macro:: Py_ALWAYS_INLINE
195201
196202
Ask the compiler to always inline a static inline function. The compiler can

0 commit comments

Comments
 (0)