Minx Version API


tuple minx.core.version.version = minxlib.version()
 Minx version object. More...

Detailed Description

Variable Documentation

tuple minx.core.version.version = minxlib.version()

Minx version object.

Here is some sample code illustrating how end-users can determine the Minx version:

1 import minx
2 print(minx.version)
3 print(minx.version.major, minx.version.minor, minx.version.patch)

The first version uses the version object's __str__ method to print the version number in the form "a.b.c", where 'a' is the major number, 'b' the minor number, and 'c' the patch level.

The second form examines the version number's three integer components individually.