File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ Export API
114114 * If :c:member:`digits` is ``NULL``, only use the :c:member:`value` member.
115115 * If :c:member:`digits` is not ``NULL``, use :c:member:`negative`,
116116 :c:member:`ndigits` and :c:member:`digits` members.
117-
117+
118118 .. c:member:: int64_t value
119119
120120 The native integer value of the exported :class:`int` object.
@@ -154,11 +154,8 @@ If :c:member:`PyLongExport.digits` is not ``NULL``, a private field of the
154154 :c:func: `PyLong_FreeExport ` must be called when the export is no longer
155155 needed.
156156
157- .. admonition :: CPython implementation detail
158- :class: warning
159-
160- This function always succeeds if *obj * is a Python :class: `int ` object
161- or a subclass.
157+ **CPython implementation detail **: This function always succeeds if *obj * is
158+ a Python :class: `int ` object or a subclass.
162159
163160
164161On CPython 3.14, no memory copy is needed in :c:func: `PyLong_Export `, it's just
@@ -169,11 +166,8 @@ a thin wrapper to expose Python :class:`int` internal digits array.
169166
170167 Release the export *export_long * created by :c:func: `PyLong_Export `.
171168
172- .. admonition :: CPython implementation detail
173- :class: warning
174-
175- Calling :c:func: `PyLong_FreeExport ` is optional if *export_long->digits *
176- is ``NULL ``.
169+ **CPython implementation detail **: Calling :c:func: `PyLong_FreeExport ` is
170+ optional if *export_long->digits * is ``NULL ``.
177171
178172
179173Import API
You can’t perform that action at this time.
0 commit comments