Revision fc4fddb139d61c7c39e19e8e8164978af1b1a3fd authored by Miss Islington (bot) on 27 September 2023, 15:38:28 UTC, committed by GitHub on 27 September 2023, 15:38:28 UTC
gh-107298: Document PyMODINIT_FUNC macro (GH-109236)

Document PyMODINIT_FUNC macro.

Remove links to PyAPI_FUNC() and PyAPI_DATA() macros since they are
not documented. These macros should only be used to define the Python
C API. They should not be used outside Python code base.
(cherry picked from commit d7a27e527d7e669d2e45cff80ad725978226477c)

Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 1d6ef7e
History
File Mode Size
cpython
internal
Python.h -rw-r--r-- 2.8 KB
README.rst -rw-r--r-- 486 bytes
abstract.h -rw-r--r-- 31.9 KB
bltinmodule.h -rw-r--r-- 264 bytes
boolobject.h -rw-r--r-- 1.1 KB
bytearrayobject.h -rw-r--r-- 1.4 KB
bytesobject.h -rw-r--r-- 2.6 KB
ceval.h -rw-r--r-- 6.1 KB
codecs.h -rw-r--r-- 6.9 KB
compile.h -rw-r--r-- 520 bytes
complexobject.h -rw-r--r-- 728 bytes
datetime.h -rw-r--r-- 9.5 KB
descrobject.h -rw-r--r-- 3.0 KB
dictobject.h -rw-r--r-- 3.8 KB
dynamic_annotations.h -rw-r--r-- 21.9 KB
enumobject.h -rw-r--r-- 253 bytes
errcode.h -rw-r--r-- 1.7 KB
exports.h -rw-r--r-- 1.2 KB
fileobject.h -rw-r--r-- 1.6 KB
fileutils.h -rw-r--r-- 507 bytes
floatobject.h -rw-r--r-- 1.5 KB
frameobject.h -rw-r--r-- 336 bytes
genericaliasobject.h -rw-r--r-- 334 bytes
import.h -rw-r--r-- 3.0 KB
interpreteridobject.h -rw-r--r-- 333 bytes
intrcheck.h -rw-r--r-- 772 bytes
iterobject.h -rw-r--r-- 597 bytes
listobject.h -rw-r--r-- 1.7 KB
longobject.h -rw-r--r-- 3.2 KB
marshal.h -rw-r--r-- 827 bytes
memoryobject.h -rw-r--r-- 1.1 KB
methodobject.h -rw-r--r-- 5.0 KB
modsupport.h -rw-r--r-- 6.4 KB
moduleobject.h -rw-r--r-- 3.3 KB
object.h -rw-r--r-- 36.3 KB
objimpl.h -rw-r--r-- 9.0 KB
opcode.h -rw-r--r-- 12.5 KB
osdefs.h -rw-r--r-- 737 bytes
osmodule.h -rw-r--r-- 291 bytes
patchlevel.h -rw-r--r-- 1.3 KB
py_curses.h -rw-r--r-- 2.4 KB
pybuffer.h -rw-r--r-- 5.2 KB
pycapsule.h -rw-r--r-- 1.7 KB
pydtrace.d -rw-r--r-- 1008 bytes
pydtrace.h -rw-r--r-- 2.3 KB
pyerrors.h -rw-r--r-- 12.7 KB
pyexpat.h -rw-r--r-- 2.4 KB
pyframe.h -rw-r--r-- 551 bytes
pyhash.h -rw-r--r-- 4.1 KB
pylifecycle.h -rw-r--r-- 2.2 KB
pymacconfig.h -rw-r--r-- 2.5 KB
pymacro.h -rw-r--r-- 6.2 KB
pymath.h -rw-r--r-- 1.6 KB
pymem.h -rw-r--r-- 3.8 KB
pyport.h -rw-r--r-- 24.8 KB
pystate.h -rw-r--r-- 4.5 KB
pystats.h -rw-r--r-- 2.7 KB
pystrcmp.h -rw-r--r-- 436 bytes
pystrtod.h -rw-r--r-- 1.5 KB
pythonrun.h -rw-r--r-- 1.3 KB
pythread.h -rw-r--r-- 4.8 KB
pytypedefs.h -rw-r--r-- 851 bytes
rangeobject.h -rw-r--r-- 630 bytes
setobject.h -rw-r--r-- 1.5 KB
sliceobject.h -rw-r--r-- 2.5 KB
structmember.h -rw-r--r-- 1.6 KB
structseq.h -rw-r--r-- 1.4 KB
sysmodule.h -rw-r--r-- 1.7 KB
traceback.h -rw-r--r-- 585 bytes
tracemalloc.h -rw-r--r-- 2.1 KB
tupleobject.h -rw-r--r-- 1.6 KB
typeslots.h -rw-r--r-- 2.3 KB
unicodeobject.h -rw-r--r-- 34.3 KB
warnings.h -rw-r--r-- 1.1 KB
weakrefobject.h -rw-r--r-- 1.2 KB

README.rst

back to top