diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c index 61e22d1..5e7f35d 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1489,8 +1489,7 @@ compiler_add_o(struct compiler *c, PyObject *dict, PyObject *o) int arg; /* necessary to make sure types aren't coerced (e.g., int and long) */ - /* XXX should use: t = PyTuple_Pack(2, o, o->ob_type); */ - t = Py_BuildValue("(OO)", o, o->ob_type); + t = PyTuple_Pack(2, o, o->ob_type); if (t == NULL) return -1; |