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

Function get_len_of_range_longs

Python/bltinmodule.c:1705–1757  ·  view source on GitHub ↗

Return number of items in range (lo, hi, step), when arguments are * PyInt or PyLong objects. step > 0 required. Return a value < 0 if * & only if the true value is too large to fit in a signed long. * Arguments MUST return 1 with either PyInt_Check() or * PyLong_Check(). Return -1 when there is an error. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handle_range_longsFunction · 0.85

Calls 7

PyObject_CompareFunction · 0.85
PyLong_FromLongFunction · 0.85
PyNumber_FloorDivideFunction · 0.85
PyNumber_AddFunction · 0.85
PyLong_AsLongFunction · 0.85
PyErr_ClearFunction · 0.85
PyErr_OccurredFunction · 0.70

Tested by

no test coverage detected