MCPcopy Index your code
hub / github.com/opencv/opencv-python / EmptyListWithLength

Class EmptyListWithLength

setup.py:534–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532# This creates a list which is empty but returns a length of 1.
533# Should make the wheel a binary distribution and platlib compliant.
534class EmptyListWithLength(list):
535 def __len__(self):
536 return 1
537
538
539if __name__ == "__main__":

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…