MCPcopy Create free account
hub / github.com/SamuraiT/mecab-python3 / SwigPyBuiltin__mecab_node_t_richcompare

Function SwigPyBuiltin__mecab_node_t_richcompare

src/MeCab/MeCab_wrap.cpp:8398–8410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8396};
8397
8398SWIGINTERN PyObject *
8399SwigPyBuiltin__mecab_node_t_richcompare(PyObject *self, PyObject *other, int op) {
8400 PyObject *result = NULL;
8401 if (!result) {
8402 if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) {
8403 result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op);
8404 } else {
8405 result = Py_NotImplemented;
8406 Py_INCREF(result);
8407 }
8408 }
8409 return result;
8410}
8411
8412SWIGINTERN PyMethodDef SwigPyBuiltin__mecab_node_t_methods[] = {
8413 { NULL, NULL, 0, NULL } /* Sentinel */

Callers

nothing calls this directly

Calls 2

SwigPyObject_CheckFunction · 0.85
SwigPyObject_richcompareFunction · 0.85

Tested by

no test coverage detected