Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
pip._vendor.packaging.specifiers.Specifier Class Reference
Inheritance diagram for pip._vendor.packaging.specifiers.Specifier:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.packaging.specifiers.Specifier:
Collaboration graph
[legend]

Public Member Functions

bool prereleases (self)
 
None prereleases (self, bool value)
 
- Public Member Functions inherited from pip._vendor.packaging.specifiers._IndividualSpecifier
None __init__ (self, str spec="", Optional[bool] prereleases=None)
 
str __repr__ (self)
 
str __str__ (self)
 
int __hash__ (self)
 
bool __eq__ (self, object other)
 
str operator (self)
 
str version (self)
 
bool __contains__ (self, str item)
 
bool contains (self, UnparsedVersion item, Optional[bool] prereleases=None)
 
Iterable[VersionTypeVar] filter (self, Iterable[VersionTypeVar] iterable, Optional[bool] prereleases=None)
 

Protected Member Functions

bool _compare_compatible (self, ParsedVersion prospective, str spec)
 
bool _compare_equal (self, ParsedVersion prospective, str spec)
 
bool _compare_not_equal (self, ParsedVersion prospective, str spec)
 
bool _compare_less_than_equal (self, ParsedVersion prospective, str spec)
 
bool _compare_greater_than_equal (self, ParsedVersion prospective, str spec)
 
bool _compare_less_than (self, ParsedVersion prospective, str spec_str)
 
bool _compare_greater_than (self, ParsedVersion prospective, str spec_str)
 
bool _compare_arbitrary (self, Version prospective, str spec)
 
- Protected Member Functions inherited from pip._vendor.packaging.specifiers._IndividualSpecifier
Tuple[str, str] _canonical_spec (self)
 
CallableOperator _get_operator (self, str op)
 
ParsedVersion _coerce_version (self, UnparsedVersion version)
 

Protected Attributes

 _prereleases
 
- Protected Attributes inherited from pip._vendor.packaging.specifiers._IndividualSpecifier
 _prereleases
 
 _spec
 
 _canonical_spec
 

Static Protected Attributes

str _regex_str
 
 _regex = re.compile(r"^\s*" + _regex_str + r"\s*$", re.VERBOSE | re.IGNORECASE)
 
dict _operators
 
- Static Protected Attributes inherited from pip._vendor.packaging.specifiers._IndividualSpecifier
dict _operators = {}
 
Pattern _regex [str]
 

Additional Inherited Members

- Public Attributes inherited from pip._vendor.packaging.specifiers._IndividualSpecifier
 version
 

Member Function Documentation

◆ prereleases() [1/2]

bool pip._vendor.packaging.specifiers.Specifier.prereleases (   self)
Returns whether or not pre-releases as a whole are allowed by this
specifier.

Reimplemented from pip._vendor.packaging.specifiers._IndividualSpecifier.

◆ prereleases() [2/2]

None pip._vendor.packaging.specifiers.Specifier.prereleases (   self,
bool  value 
)
Returns whether or not pre-releases as a whole are allowed by this
specifier.

Reimplemented from pip._vendor.packaging.specifiers._IndividualSpecifier.

Member Data Documentation

◆ _operators

dict pip._vendor.packaging.specifiers.Specifier._operators
staticprotected
Initial value:
= {
"~=": "compatible",
"==": "equal",
"!=": "not_equal",
"<=": "less_than_equal",
">=": "greater_than_equal",
"<": "less_than",
">": "greater_than",
"===": "arbitrary",
}

The documentation for this class was generated from the following file: