cpython/Tools/check-c-api-docs
Petr Viktorin deb75a5296
[3.14] gh-141004: Improve make check-c-api-docs (GH-143564) (GH-143593)
- 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:04:39 +01:00
..
ignored_c_api.txt [3.14] gh-141004: Improve make check-c-api-docs (GH-143564) (GH-143593) 2026-01-12 14:04:39 +01:00
main.py [3.14] gh-141004: Improve make check-c-api-docs (GH-143564) (GH-143593) 2026-01-12 14:04:39 +01:00
mypy.ini [3.14] gh-142859: Add Tools/check-c-api-docs to mypy check (GH-142860) (#142871) 2025-12-17 11:50:22 +00:00