mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix couple of dead code paths (GH-7418)
This commit is contained in:
parent
e7b1136ec3
commit
27ee0f8551
4 changed files with 0 additions and 7 deletions
|
@ -1617,12 +1617,10 @@ bytes_richcompare(PyBytesObject *a, PyBytesObject *b, int op)
|
|||
case Py_GE:
|
||||
/* a string is equal to itself */
|
||||
Py_RETURN_TRUE;
|
||||
break;
|
||||
case Py_NE:
|
||||
case Py_LT:
|
||||
case Py_GT:
|
||||
Py_RETURN_FALSE;
|
||||
break;
|
||||
default:
|
||||
PyErr_BadArgument();
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue