MCPcopy Create free account
hub / github.com/numpy/numpy / __init__

Method __init__

numpy/_utils/_pep440.py:167–169  ·  view source on GitHub ↗
(self, version)

Source from the content-addressed store, hash-verified

165class LegacyVersion(_BaseVersion):
166
167 def __init__(self, version):
168 self._version = str(version)
169 self._key = _legacy_cmpkey(self._version)
170
171 def __str__(self):
172 return self._version

Callers

nothing calls this directly

Calls 1

_legacy_cmpkeyFunction · 0.85

Tested by

no test coverage detected