save_cast_int
- save_cast_int(int_str: str) int [source]
Cast version string to tuple, in a save manner.
This is needed so the version number of prereleases (i.e. 3.8.0rc1) don’t not throw exceptions.
- Parameters:
int_str (str) – String which should represent a number.
- Returns:
Int representation of int_str
- Return type:
int