Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make it clear about when format is NULL.
  • Loading branch information
ericsnowcurrently committed Aug 10, 2022
commit cfee8301877fb8f3ba6040124e22dc7959d174a9
1 change: 1 addition & 0 deletions Python/getargs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,7 @@ vgetargskeywordsfast_impl(PyObject *const *args, Py_ssize_t nargs,
}

format = parser->format;
assert(format != NULL || len == 0);
/* convert tuple args and keyword args in same loop, using kwtuple to drive process */
for (i = 0; i < len; i++) {
if (*format == '|') {
Expand Down