Library Reference¶
- imaplib2.version(use_tuple=False)¶
Return the version of this module, either as a single string (the default) or a
tupleofmajor_version, minor_versionas integers- Parameters:
use_tuple (
bool) – Whether to returntuple- Returns:
The version of this library, the format depends on the value of
use_tuple- Return type:
(
int,int) ifuse_tuple- Return type:
strotherwise