MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / len

Function len

extern/pybind/include/pybind11/pytypes.h:2495–2501  ·  view source on GitHub ↗

Get the length of a Python object.

Source from the content-addressed store, hash-verified

2493
2494/// Get the length of a Python object.
2495inline size_t len(handle h) {
2496 ssize_t result = PyObject_Length(h.ptr());
2497 if (result < 0) {
2498 throw error_already_set();
2499 }
2500 return (size_t) result;
2501}
2502
2503/// Get the length hint of a Python object.
2504/// Returns 0 when this cannot be determined.

Callers 11

runFunction · 0.85
libsize.pyFile · 0.85
strip_paddingMethod · 0.85
getCurrentTimeMethod · 0.85
RequestInformationMethod · 0.85
redoItMethod · 0.85
generateSceneMethod · 0.85
doItMethod · 0.85
loadRigidBodiesMethod · 0.85

Calls 1

ptrMethod · 0.80

Tested by

no test coverage detected