]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-64502: Convert curses methods with optional groups to Argument Clinic (GH-155229)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 5 Aug 2026 11:34:58 +0000 (14:34 +0300)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2026 11:34:58 +0000 (14:34 +0300)
commitea85e8faeccac4346d782b909a43eaa3a881ac8a
tree6850f16075d6da7823ed9a5612265952ea68c69a
parent1d90627f1660253b30e5efc2ca092a6231737993
gh-64502: Convert curses methods with optional groups to Argument Clinic (GH-155229)

chgat(), getstr(), instr(), get_wstr(), in_wstr() and in_wchstr() were
parsing their arguments by hand, because Argument Clinic did not support
their signatures.  Their helper for parsing the optional y, x and n
arguments is no longer needed.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Modules/_cursesmodule.c
Modules/clinic/_cursesmodule.c.h