cpython/Doc/c-api
Petr Viktorin f85e1170d2
gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471)
- Group the macros
- Roughly order them to put the most important ones first
- Add expansions where it makes sense; especially if there's
  an equivalent in modern C or a common compiler

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2026-02-06 11:55:11 +01:00
..
abstract.rst
allocation.rst
apiabiversion.rst gh-143578: Restore note about patchlevel.h (#143596) 2026-01-12 11:21:14 +00:00
arg.rst
bool.rst
buffer.rst
bytearray.rst
bytes.rst
call.rst gh-141004: Document old provisional names for vectorcall/code API (GH-143568) 2026-01-14 10:54:45 +01:00
capsule.rst
cell.rst
code.rst gh-141004: Document old provisional names for vectorcall/code API (GH-143568) 2026-01-14 10:54:45 +01:00
codec.rst
complex.rst
concrete.rst gh-141004: Document the PyPickleBuffer_* C API (GH-141630) 2025-11-16 13:50:54 -05:00
contextvars.rst
conversion.rst gh-141004: Mark up constants for PyOS_double_to_string (GH-143867) 2026-01-22 11:53:17 +01:00
coro.rst
curses.rst
datetime.rst gh-141004: Document missing PyDateTime* APIs (GH-141543) 2025-11-20 08:48:10 -05:00
descriptor.rst gh-141004: Document PyException_HEAD and PyDescr_COMMON (GH-143896) 2026-01-17 10:39:29 -05:00
dict.rst gh-141004: Document descriptor and dict proxy type objects (GH-141803) 2025-12-01 15:51:50 +00:00
exceptions.rst gh-141004: Document PyException_HEAD and PyDescr_COMMON (GH-143896) 2026-01-17 10:39:29 -05:00
extension-modules.rst Python 3.15.0a3 2025-12-16 14:26:12 +02:00
file.rst gh-141004: Document several soft-deprecated C APIs (GH-141634) 2026-01-14 08:20:33 -05:00
float.rst gh-141004: Document Py_HUGE_VAL/IS_FINITE/IS_INFINITE/IS_NAN (#141544) 2025-11-18 10:17:37 +01:00
frame.rst
function.rst
gcsupport.rst gh-123241: Document restrictions for tp_traverse implementations (gh-142272) 2025-12-08 12:22:13 -05:00
gen.rst gh-141004: Document several soft-deprecated C APIs (GH-141634) 2026-01-14 08:20:33 -05:00
hash.rst
import.rst GH-65961: Stop setting __cached__ on modules (GH-142165) 2025-12-11 11:44:46 -08:00
index.rst
init.rst gh-140550: PEP 793 reference documentation (GH-141197) 2025-11-26 12:50:03 +00:00
init_config.rst
intro.rst gh-141004: Reorganize and reword the 'Useful macros' section (GH-144471) 2026-02-06 11:55:11 +01:00
iter.rst
iterator.rst gh-141004: Document PyODict* APIs (GH-141136) 2025-11-17 14:40:47 -05:00
lifecycle.dot
lifecycle.dot.css
lifecycle.dot.pdf
lifecycle.dot.svg
lifecycle.rst gh-75459: versionadded for PyObject_CallFinalizer*() API (GH-143982) 2026-01-19 11:22:16 +01:00
list.rst
long.rst gh-143869: Add PEP 757 functions to the limited API (#143906) 2026-01-21 14:47:14 +01:00
mapping.rst
marshal.rst
memory.rst gh-144319: Add huge pages support for pymalloc (#144320) 2026-01-29 12:26:11 +00:00
memoryview.rst
method.rst
module.rst gh-143883: Use named parameters in PyModExport-related declarations & docs (GH-143884) 2026-01-27 10:28:28 +00:00
monitoring.rst
none.rst
number.rst
object.rst gh-144277: Fix usage of free-threaded terminology in the documentation (GH-144333) 2026-02-01 20:39:26 -05:00
objimpl.rst
perfmaps.rst
picklebuffer.rst gh-141004: Document the PyPickleBuffer_* C API (GH-141630) 2025-11-16 13:50:54 -05:00
refcounting.rst gh-144277: Fix usage of free-threaded terminology in the documentation (GH-144333) 2026-02-01 20:39:26 -05:00
reflection.rst
sequence.rst
set.rst gh-141004: Document several soft-deprecated C APIs (GH-141634) 2026-01-14 08:20:33 -05:00
slice.rst
stable.rst
structures.rst gh-140550: PEP 793 reference documentation (GH-141197) 2025-11-26 12:50:03 +00:00
sys.rst gh-141004: Document PyOS_InterruptOccurred (GH-141526) 2025-11-14 06:20:36 -05:00
time.rst
tuple.rst Clarify that PyStructSequence is different from collections.namedtuple (#142626) 2025-12-16 13:38:11 +02:00
type.rst Python 3.15.0a3 2025-12-16 14:26:12 +02:00
typehints.rst
typeobj.rst gh-141004: Document old provisional names for vectorcall/code API (GH-143568) 2026-01-14 10:54:45 +01:00
unicode.rst gh-141004: Document PyUnicode_IS_COMPACT and PyUnicode_IS_COMPACT_ASCII macros (GH-143494) 2026-01-12 13:59:59 +01:00
utilities.rst
veryhigh.rst gh-141004: Document stack effect C APIs (GH-141843) 2025-11-24 12:18:50 -05:00
weakref.rst gh-141004: Document PyType_SUPPORTS_WEAKREFS (GH-141408) 2025-11-12 11:38:17 -05:00