#NEWLINE# def format_item_as_plain( i , item ) : #NEWLINE# #INDENT# tmpl = '+{lnum} {path} {func_name}(): Missing[{nmissing}/{total_args}]={undoc_names}' #NEWLINE# s = tmpl . format ( path = item . path , lnum = item . lnum , func_name = item . func . __name__ , nmissing = len ( item . undoc_names ) , total_args = item . nsig_names , undoc_names = list ( item . undoc_names ) ) #NEWLINE# if item . missing_args : #NEWLINE# #INDENT# s += ' Extra(?)={missing_args}' . format ( missing_args = list ( item . missing_args ) ) #NEWLINE# #UNINDENT# return s