Skip to content

Commit e326fcf

Browse files
committed
removed commented fix when trailing placeholders allowed
1 parent 25a91aa commit e326fcf

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Modules/_functoolsmodule.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -387,17 +387,6 @@ partial_vectorcall(PyObject *self, PyObject *const *args,
387387
pto_nargs, NULL);
388388
}
389389

390-
// TO BE ADDED ON MERGE TO MAIN
391-
// IF https://github.com/python/cpython/pull/124788
392-
// IS MERGED BEFORE THIS
393-
// /* Fast path if all Placeholders */
394-
// if (pto_nargs == pto_phcount) {
395-
// /* NOTE: Without this, following single argument Fast Path
396-
// * is incorrect */
397-
// return _PyObject_VectorcallTstate(tstate, pto->fn,
398-
// args, nargs, kwnames);
399-
// }
400-
401390
/* Use PY_VECTORCALL_ARGUMENTS_OFFSET to prepend a single
402391
* positional argument. */
403392
if (pto_nargs == 1 && (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET)) {

0 commit comments

Comments
 (0)