Unverified Kaydet (Commit) 9bb8cebd authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) GitHub

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

(cherry picked from commit f178028f)
Co-authored-by: 's avatarDevon R <Gorialis@users.noreply.github.com>
üst 71a3837b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment