Improve the developer API documentation
Improve the code documentation (still much more to do) and also add some more meat to the structure of the developer documentation. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:

committed by
Nicolas Sebrecht

parent
e9a7afda6d
commit
6add201436
@ -31,9 +31,11 @@ debugtypes = {'imap': 'IMAP protocol debugging',
|
||||
|
||||
globalui = None
|
||||
def setglobalui(newui):
|
||||
"""Set the global ui object to be used for logging"""
|
||||
global globalui
|
||||
globalui = newui
|
||||
def getglobalui():
|
||||
"""Return the current ui object"""
|
||||
global globalui
|
||||
return globalui
|
||||
|
||||
|
Reference in New Issue
Block a user