Skip to content
Merged
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
PEP7
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
  • Loading branch information
iritkatriel and Erlend Egeberg Aasland authored Dec 2, 2021
commit 32a174bc5f802ffb903e76815bb8ab2def8eebd8
3 changes: 2 additions & 1 deletion Objects/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ BaseException_get_note(PyBaseExceptionObject *self, void *Py_UNUSED(ignored))
}

static int
BaseException_set_note(PyBaseExceptionObject *self, PyObject *note, void *Py_UNUSED(ignored))
BaseException_set_note(PyBaseExceptionObject *self, PyObject *note,
void *Py_UNUSED(ignored))
{
if (note == NULL) {
PyErr_SetString(PyExc_TypeError, "__note__ may not be deleted");
Expand Down