next up previous contents index
Next: info.build_date return Up: The info object: obtaining Previous: info.version return   Contents   Index

info.version_info -- return the version number, as a tuple

This returns only the version number, as a Python tuple containing the major and minor version numbers. For example, version 8v0 would return (8, 0). (CVS builds always return 'CVS' instead.)

Ben Webb 2007-01-19