[Python-checkins] bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439)
Miss Islington (bot)
webhook-mailer at python.org
Tue Apr 10 02:01:00 EDT 2018
https://github.com/python/cpython/commit/9bb8cebdce99db7e7a94f15141a8e0514b51aa72
commit: 9bb8cebdce99db7e7a94f15141a8e0514b51aa72
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-04-09T23:00:57-07:00
summary:
bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439)
(cherry picked from commit f178028f37c9dafb72608b719eb03e5a70af4ff5)
Co-authored-by: Devon R <Gorialis at users.noreply.github.com>
files:
M Modules/xxsubtype.c
diff --git a/Modules/xxsubtype.c b/Modules/xxsubtype.c
index 8d0d6ae81493..11242d739138 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) {
More information about the Python-checkins
mailing list