We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7b57df commit a10d426Copy full SHA for a10d426
1 file changed
Objects/longobject.c
@@ -4637,8 +4637,7 @@ long_bitwise(PyLongObject *a,
4637
size_z = negb ? size_b : size_a;
4638
break;
4639
default:
4640
- PyErr_BadArgument();
4641
- return NULL;
+ Py_UNREACHABLE();
4642
}
4643
4644
/* We allow an extra digit if z is negative, to make sure that
@@ -4665,8 +4664,7 @@ long_bitwise(PyLongObject *a,
4665
4664
z->ob_digit[i] = a->ob_digit[i] ^ b->ob_digit[i];
4666
4667
4668
4669
4670
4671
4672
/* Copy any remaining digits of a, inverting if necessary. */
0 commit comments