bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439)

(cherry picked from commit f178028f37)

Co-authored-by: Devon R <Gorialis@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2018-04-09 23:00:57 -07:00 committed by GitHub
parent 71a3837bf3
commit 9bb8cebdce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {