From f178028f37c9dafb72608b719eb03e5a70af4ff5 Mon Sep 17 00:00:00 2001 From: Devon R Date: Tue, 10 Apr 2018 14:21:18 +0900 Subject: [PATCH] bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439) --- Modules/xxsubtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/xxsubtype.c b/Modules/xxsubtype.c index 8d0d6ae8149..11242d73913 100644 --- a/Modules/xxsubtype.c +++ b/Modules/xxsubtype.c @@ -239,7 +239,7 @@ spam_bench(PyObject *self, PyObject *args) int n = 1000; time_t t0, t1; - if (!PyArg_ParseTuple(args, "OS|i", &obj, &name, &n)) + if (!PyArg_ParseTuple(args, "OU|i", &obj, &name, &n)) return NULL; t0 = clock(); while (--n >= 0) {