summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMark Jason Dominus (陶敏修) <mjd@pobox.com>2024-06-04 12:59:56 (GMT)
committerGitHub <noreply@github.com>2024-06-04 12:59:56 (GMT)
commitbd8c1f97e1709b5e8b07c31b1bc7b73acc76169d (patch)
tree1c16eea0d406dd89e651ff591e6cafabb66dea68 /Python
parent99d945c0c006e3246ac00338e37c443c6e08fc5c (diff)
downloadcpython-bd8c1f97e1709b5e8b07c31b1bc7b73acc76169d.zip
cpython-bd8c1f97e1709b5e8b07c31b1bc7b73acc76169d.tar.gz
cpython-bd8c1f97e1709b5e8b07c31b1bc7b73acc76169d.tar.bz2
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.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions