Home
last modified time | relevance | path

Searched refs:_coerce_version (Results 1 – 2 of 2) sorted by relevance

/external/python/setuptools/setuptools/_vendor/packaging/
Dspecifiers.py139 def _coerce_version(self, version): member in _IndividualSpecifier
170 item = self._coerce_version(item)
191 parsed_version = self._coerce_version(version)
242 def _coerce_version(self, version): member in LegacySpecifier
248 return prospective == self._coerce_version(spec)
251 return prospective != self._coerce_version(spec)
254 return prospective <= self._coerce_version(spec)
257 return prospective >= self._coerce_version(spec)
260 return prospective < self._coerce_version(spec)
263 return prospective > self._coerce_version(spec)
/external/python/setuptools/pkg_resources/_vendor/packaging/
Dspecifiers.py139 def _coerce_version(self, version): member in _IndividualSpecifier
170 item = self._coerce_version(item)
191 parsed_version = self._coerce_version(version)
242 def _coerce_version(self, version): member in LegacySpecifier
248 return prospective == self._coerce_version(spec)
251 return prospective != self._coerce_version(spec)
254 return prospective <= self._coerce_version(spec)
257 return prospective >= self._coerce_version(spec)
260 return prospective < self._coerce_version(spec)
263 return prospective > self._coerce_version(spec)