cyclonedx._internal.compare

!!! ALL SYMBOLS IN HERE ARE INTERNAL. Everything might change without any notice.

Module Contents

Classes

ComparableTuple

Allows comparison of tuples, allowing for None values.

class cyclonedx._internal.compare.ComparableTuple

Bases: Tuple[Optional[Any], Ellipsis]

Allows comparison of tuples, allowing for None values.

class tuple

Bases: object

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.

If the argument is a tuple, the return value is the same object.

count()

Return number of occurrences of value.

index()

Return first index of value.

Raises ValueError if the value is not present.

count()

Return number of occurrences of value.

index()

Return first index of value.

Raises ValueError if the value is not present.