Home | History | Annotate | Download | only in python24

Lines Matching refs:target_version

34 def compare_version(sysmodule=None, target_version=None):
43 target_version: A string representing the Python version to compare
50 A triple of (comparison, current_version, target_version).
64 target_version: A string representing the version that the current
70 if target_version is None:
71 target_version = _MINIMUM_SUPPORTED_PYTHON_VERSION
74 precision = len(target_version.split("."))
84 if current_version_to_compare > target_version:
86 elif current_version_to_compare == target_version:
95 return (comparison, current_version, target_version)
100 def check_version(log=None, sysmodule=None, target_version=None):
110 target_version: See the compare_version() docstring.
120 (comparison, current_version, target_version) = \
121 compare_version(sysmodule, target_version)
131 % (current_version, target_version))