diff options
author | Devon R <Gorialis@users.noreply.github.com> | 2018-04-10 05:21:18 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-04-10 05:21:18 (GMT) |
commit | f178028f37c9dafb72608b719eb03e5a70af4ff5 (patch) | |
tree | a9a85dd4347ee906bbffd4a06f584be4b5e785f1 | |
parent | 0f914b5b5f6ba186afd7112fc851c97247076f70 (diff) | |
download | cpython-f178028f37c9dafb72608b719eb03e5a70af4ff5.zip cpython-f178028f37c9dafb72608b719eb03e5a70af4ff5.tar.gz cpython-f178028f37c9dafb72608b719eb03e5a70af4ff5.tar.bz2 |
bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439)
-rw-r--r-- | Modules/xxsubtype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xxsubtype.c b/Modules/xxsubtype.c index 8d0d6ae..11242d7 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) { |