Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tuple size
  • Loading branch information
Rémi Lapeyre committed Jan 16, 2019
commit 88ba13e5d2162be5b4cb43881313f4049cfbbf86
2 changes: 1 addition & 1 deletion Objects/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ BaseException_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
self->args = args;
Py_INCREF(args);
} else {
self->args = PyTuple_New(2);
self->args = PyTuple_New(0);
if (!self->args) {
Py_DECREF(self);
return NULL;
Expand Down