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

Class EmptyListWithLength

setup.py:303–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301# This creates a list which is empty but returns a length of 1.
302# Should make the wheel a binary distribution and platlib compliant.
303class EmptyListWithLength(list):
304 def __len__(self):
305 return 1
306
307
308if __name__ == "__main__":

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected