get_version_tuple
Return a tuple of version numbers (e.g. (1, 2, 3)) from the version string (e.g. '1.2.3').
def get_version_tuple(
version: string
) - > tuple
Return a tuple of version numbers (e.g. (1, 2, 3)) from the version string (e.g. '1.2.3').
Parameters
| Name | Type | Description |
|---|---|---|
| version | string | The version string to be parsed into numeric components. |
Returns
| Type | Description |
|---|---|
tuple | A tuple of integers representing the numeric components of the version string, stopping at the first non-integer component. |