Skip to content

Commit f178028

Browse files
Gorialisserhiy-storchaka
authored andcommitted
bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439)
1 parent 0f914b5 commit f178028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/xxsubtype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ spam_bench(PyObject *self, PyObject *args)
239239
int n = 1000;
240240
time_t t0, t1;
241241

242-
if (!PyArg_ParseTuple(args, "OS|i", &obj, &name, &n))
242+
if (!PyArg_ParseTuple(args, "OU|i", &obj, &name, &n))
243243
return NULL;
244244
t0 = clock();
245245
while (--n >= 0) {

0 commit comments

Comments
 (0)