get_version
Return a PEP 440-compliant version number from VERSION.
def get_version(
version: tuple = null
) - > string
Return a PEP 440-compliant version number from VERSION.
Parameters
| Name | Type | Description |
|---|---|---|
| version | tuple = null | A five-element tuple representing the version components (major, minor, micro, release level, and serial); if omitted, the global VERSION is used. |
Returns
| Type | Description |
|---|---|
string | A PEP 440-compliant version string consisting of the main version components and any applicable pre-release or development suffixes. |