cpython/Tools/check-c-api-docs
Petr Viktorin b06ef5b59a
[3.13] gh-141004: Improve make check-c-api-docs (GH-143564) (GH-143594)
- Gather all documented names into a set in a single pass.
  This makes the check much faster.

- Do not match substrings (e.g. documenting `PyErr_WarnEx`
  doesn't mean that `PyErr_Warn` is documented)

- Consider `PY`-prefixed names (a lot of old macros use this)

(cherry picked from commit 234a15dc4e)
2026-01-12 14:05:31 +01:00
..
ignored_c_api.txt [3.13] gh-141004: Improve make check-c-api-docs (GH-143564) (GH-143594) 2026-01-12 14:05:31 +01:00
main.py [3.13] gh-141004: Improve make check-c-api-docs (GH-143564) (GH-143594) 2026-01-12 14:05:31 +01:00
mypy.ini [3.13] gh-142859: Add Tools/check-c-api-docs to mypy check (GH-142860) (#142870) 2025-12-17 11:47:36 +00:00