| 631 | } |
| 632 | |
| 633 | static PyObject * |
| 634 | array_left_shift(PyObject *m1, PyObject *m2) |
| 635 | { |
| 636 | PyObject *res; |
| 637 | |
| 638 | BINOP_GIVE_UP_IF_NEEDED(m1, m2, nb_lshift, array_left_shift); |
| 639 | if (try_binary_elide(m1, m2, &array_inplace_left_shift, &res, 0)) { |
| 640 | return res; |
| 641 | } |
| 642 | return PyArray_GenericBinaryFunction(m1, m2, n_ops.left_shift); |
| 643 | } |
| 644 | |
| 645 | static PyObject * |
| 646 | array_right_shift(PyObject *m1, PyObject *m2) |
nothing calls this directly
no test coverage detected