version_to_tuple¶

version_to_tuple(match)[source]¶

Convert a version string to a tuple of ints.

Only supports versions containing integers and periods.

Parameters:

match (str) – The version string to convert.

Returns:

The version string as a tuple of ints.

Return type:

tuple