SIGN IN SIGN UP

gh-94808: Reorganize _make_posargs and mark unused code (GH-119227)

* Reorganize four-way if-elsif-elsif-elsif as nested if-elses
* Mark unused branch in _make_posargs

`names_with_default` is never `NULL`, even if there are no names with
defaults.  In that case it points to a structure with `size` zero.

Rather than eliminating the branch, we leave it behind with an `assert(0)`
in case a future change to the grammar exercises the branch.
M
Mark Jason Dominus (陶敏修) committed
bd8c1f97e1709b5e8b07c31b1bc7b73acc76169d
Parent: 99d945c
Committed by GitHub <noreply@github.com> on 6/4/2024, 12:59:56 PM