Skip to content

Commit aa1eb4a

Browse files
committed
Fix docs
1 parent feb428d commit aa1eb4a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Doc/c-api/stable.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,20 +259,20 @@ The full API is described below for advanced use cases.
259259

260260
.. c:type:: PyABIInfo
261261
262-
.. c:member:: uint8_t PyABIInfo.abiinfo_major_version
262+
.. c:member:: uint8_t abiinfo_major_version
263263
264264
The major version of :c:struct:`PyABIInfo`. Can be set to:
265265

266266
* ``0`` to skip all checking, or
267267
* ``1`` to specify this version of :c:struct:`!PyABIInfo`.
268268

269-
.. c:member:: uint8_t PyABIInfo.abiinfo_minor_version
269+
.. c:member:: uint8_t abiinfo_minor_version
270270
271271
The major version of :c:struct:`PyABIInfo`.
272272
Must be set to ``0``; larger values are reserved for backwards-compatible
273273
future versions of :c:struct:`!PyABIInfo`.
274274

275-
.. c:member:: uint16_t PyABIInfo.flags
275+
.. c:member:: uint16_t flags
276276
277277
.. c:namespace:: NULL
278278
@@ -311,7 +311,7 @@ The full API is described below for advanced use cases.
311311
Specifies ABI compatible with non-free-threading builds of CPython
312312
(ones compiled *without* :option:`--disable-gil`).
313313

314-
.. c:member:: uint32_t PyABIInfo.build_version
314+
.. c:member:: uint32_t build_version
315315
316316
The version of the Python headers used to build the code, in the format
317317
used by :c:macro:`PY_VERSION_HEX`.
@@ -320,7 +320,7 @@ The full API is described below for advanced use cases.
320320
This option is meant mainly for projects that do not use the CPython
321321
headers directly, and do not emulate a specific version of them.
322322

323-
.. c:member:: uint32_t PyABIInfo.abi_version
323+
.. c:member:: uint32_t abi_version
324324
325325
The ABI version.
326326

Doc/using/configure.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ General Options
293293

294294
.. option:: --disable-gil
295295

296+
.. c:macro:: Py_GIL_DISABLED
297+
:no-typesetting:
298+
296299
Enables support for running Python without the :term:`global interpreter
297300
lock` (GIL): free threading build.
298301

0 commit comments

Comments
 (0)