gh-141004: Document remaining constants from patchlevel.h by encukou · Pull Request #143598 · python/cpython
.. c:namespace:: NULL .. c:macro:: PY_RELEASE_LEVEL_ALPHA :no-typesetting:
vstinner marked this conversation as resolved.
For completeness, the values are available as macros: :c:macro:`!PY_RELEASE_LEVEL_ALPHA` (``0xA``), :c:macro:`!PY_RELEASE_LEVEL_BETA` (``0xB``), :c:macro:`!PY_RELEASE_LEVEL_GAMMA` (``0xC``), and :c:macro:`!PY_RELEASE_LEVEL_FINAL` (``0xF``).
.. c:macro:: PY_RELEASE_SERIAL
The ``2`` in ``3.4.1a2``. Zero for final releases.
.. c:macro:: PY_VERSION
The Python version as a string, for example, ``"3.4.1a2"``.
Run-time version ----------------