MCPcopy Create free account
hub / github.com/opencv/opencv-python / EmptyListWithLength

Class EmptyListWithLength

setup.py:530–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected