#NEWLINE# def _get_method_doc( self ) : #NEWLINE# #INDENT# ' Return method documentations. ' #NEWLINE# ret = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for method_name in self . methods : #NEWLINE# #INDENT# method = getattr ( self , method_name , None ) #NEWLINE# if self : #NEWLINE# #INDENT# ret [ method_name ] = method . __doc__ #NEWLINE# #UNINDENT# #UNINDENT# return ret