Skip to content

Commit

Permalink
Remove a commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Apr 26, 2022
1 parent 76a60ac commit a4badbc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Objects/unionobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,6 @@ _Py_union_type_or(PyObject* self, PyObject* other)
Py_RETURN_NOTIMPLEMENTED;
}

// if (self == Py_None) {
// self = (PyObject *)&_PyNone_Type;
// }
// if (other == Py_None) {
// other = (PyObject *)&_PyNone_Type;
// }

Py_ssize_t size1, size2;
PyObject **items1 = get_types(&self, &size1);
PyObject **items2 = get_types(&other, &size2);
Expand Down

0 comments on commit a4badbc

Please sign in to comment.