Library Reference¶
- imaplib2.version(use_tuple=False)¶
Return the version of this module, either as a single string (the default) or a
tuple
ofmajor_version, minor_version
as 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:
str
otherwise