MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / PyObject_Compare

Function PyObject_Compare

Objects/object.c:853–869  ·  view source on GitHub ↗

Compare v to w. Return -1 if v < w or exception (PyErr_Occurred() true in latter case). 0 if v == w. 1 if v > w. XXX The docs (C API manual) say the return value is undefined in case XXX of error. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

whichmoduleFunction · 0.85
element_findFunction · 0.85
element_findtextFunction · 0.85
element_findallFunction · 0.85
element_removeFunction · 0.85
code_compareFunction · 0.85
proxy_compareFunction · 0.85
wrapper_compareFunction · 0.85
cell_compareFunction · 0.85
dict_compareFunction · 0.85
PyObject_CmpFunction · 0.85
same_slots_addedFunction · 0.85

Calls 2

PyErr_BadInternalCallFunction · 0.85
do_cmpFunction · 0.85

Tested by

no test coverage detected