def document_custom_method(section, method_name, method):
 document_custom_signature(section, method_name, method)
 method_intro_section = section.add_new_section('method-intro')
 method_intro_section.writeln('')
 doc_string = inspect.getdoc(method)
 if (doc_string is not None):
  method_intro_section.style.write_py_doc_string(doc_string)

def document_custom_method ( section , method_name , method ) : document_custom_signature ( section , method_name , method ) method_intro_section = section . add_new_section ( 'method-intro' ) method_intro_section . writeln ( '' ) doc_string = inspect . getdoc ( method ) if ( doc_string is not None ) : method_intro_section . style . write_py_doc_string ( doc_string )
documents a non-data driven method .