Skip to content

Commit 9e282c6

Browse files
Update Doc/c-api/long.rst
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent e794b69 commit 9e282c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/long.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,8 @@ Deprecated API
863863
These macros are :term:`soft deprecated`. They describe parameters
864864
of the internal representation of :c:type:`PyLongObject` instances.
865865
866-
Use :c:func:`PyLong_GetNativeLayout` instead, along with :c:func:`PyLongExport` and
867-
:c:type:`PyLongWriter` to access integer data.
866+
Use :c:func:`PyLong_GetNativeLayout` instead, along with :c:func:`PyLong_Export`
867+
to read integer data or :c:type:`PyLongWriter` to write it.
868868
These currently use the same layout, but are designed to continue working correctly
869869
even if CPython's internal integer representation changes.
870870

0 commit comments

Comments
 (0)