Version Info

pcapkit.corekit.version contains tuple like class VersionInfo, which is originally designed alike sys.version_info.

class pcapkit.corekit.version.VersionInfo(major, minor)

Bases: tuple

VersionInfo is alike sys.version_info.

_asdict()

Return a new dict which maps field names to their values.

classmethod _make(iterable)

Make a new VersionInfo object from a sequence or iterable

_replace(**kwds)

Return a new VersionInfo object replacing specified fields with new values

_field_defaults = {}
_fields = ('major', 'minor')
_fields_defaults = {}
major

Alias for field number 0

minor

Alias for field number 1