![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| __eq__ (self, other) | |
| __lt__ (self, other) | |
| __hash__ (self) | |
Static Public Attributes | |
| year = attrib(type=int) | |
| minor = attrib(type=int) | |
| micro = attrib(type=int) | |
| releaselevel = attrib(type=str) | |
Protected Member Functions | |
| _from_version_string (cls, s) | |
| _ensure_tuple (self, other) | |
A version object that can be compared to tuple of length 1--4: >>> attr.VersionInfo(19, 1, 0, "final") <= (19, 2) True >>> attr.VersionInfo(19, 1, 0, "final") < (19, 1, 1) True >>> vi = attr.VersionInfo(19, 2, 0, "final") >>> vi < (19, 1, 1) False >>> vi < (19,) False >>> vi == (19, 2,) True >>> vi == (19, 2, 1) False .. versionadded:: 19.2
|
protected |
Ensure *other* is a tuple of a valid length. Returns a possibly transformed *other* and ourselves as a tuple of the same length as *other*.
|
protected |
Parse *s* and return a _VersionInfo.