[3.13] gh-122688: Fix support of var-positional parameter in Argument Clinic (GH-122689) (#122852)
* Parameters after the var-positional parameter are now keyword-only instead of positional-or-keyword. * Correctly calculate min_kw_only. * Raise errors for invalid combinations of the var-positional parameter with "*", "/" and deprecation markers. (cherry picked from commit 8393608dd9f157ae25ee44777541e62fa80a6d82)
S
Serhiy Storchaka committed
8b6dd92db78cd2c0170e30d9e2fd2851b7f60b13
Parent: 60e4c3f
Committed by GitHub <noreply@github.com>
on 9/2/2024, 11:03:04 AM