CPEComponentNotApplicable class¶
-
class
cpe.comp.cpecomp_notapplicable.
CPEComponentNotApplicable
¶ Represents a component of CPE name with a not applicable value, compatible with the components of all versions of CPE specification.
For example, in version 2.3 of CPE specification, an component “not applicable” is update attribute in CPE name cpe:/a:microsft:windows:me:-.
-
__contains__
(item)¶ Returns True if item is included in set of values of self.
Parameters: item (CPEComponent) – component to find in self Returns: True if item is included in set of self Return type: boolean
-
__eq__
(other)¶ Returns True if other (first element of operation) and self (second element of operation) are equal components, false otherwise.
Parameters: other (CPEComponent) – component to compare Returns: True if other == self, False otherwise Return type: boolean
-
__init__
()¶ Initializes the component.
-
__str__
()¶ Returns a human-readable representation of CPE component.
Returns: Representation of CPE component as string Return type: string
-