8000 gh-125028: Prohibit placeholders in partial keywords by dg-pb · Pull Request #126062 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-125028: Prohibit placeholders in partial keywords #126062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Prev Previous commit
Next Next commit
remove unrelated changes
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
dg-pb and erlend-aasland authored Jan 5, 2025
commit 656361b4f5adb64ed221cd0903fe8867a1387c15
1 change: 0 additions & 1 deletion Modules/_functoolsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ partial_new(PyTypeObject *type, PyObject *args, PyObject *kw)
assert(PyTuple_Check(pto->args));
}

/* process keywords */
if (pto_kw == NULL || PyDict_GET_SIZE(pto_kw) == 0) {
pto->kw = PyDict_New();
}
Expand Down
Loading
0