Skip to content

Commit 88ba13e

Browse files
author
Rémi Lapeyre
committed
Fix tuple size
1 parent 1d12d28 commit 88ba13e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ BaseException_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
4949
self->args = args;
5050
Py_INCREF(args);
5151
} else {
52-
self->args = PyTuple_New(2);
52+
self->args = PyTuple_New(0);
5353
if (!self->args) {
5454
Py_DECREF(self);
5555
return NULL;

0 commit comments

Comments
 (0)