#NEWLINE# @ staticmethod #NEWLINE# def finalize_param( s , i ) : #NEWLINE# #INDENT# meta = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# _r = '\\s*([^,\\s]+(?:\\s*,\\s*[^,\\s]+)*)\\s*(?::\\s*(.*?))?[^\\S\\n]*?\\n(\\s+.*)' #NEWLINE# m = re . match ( _r , descr_only , re . DOTALL ) #NEWLINE# if m : #NEWLINE# #INDENT# ( names , typ , desc ) = m . groups ( ) #NEWLINE# names = [ n . strip ( ) for n in names . split ( ',' ) ] #NEWLINE# ( meta [ 'indent' ] , descr ) = dedent_verbose ( desc , 0 ) #NEWLINE# descr_only = False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# names = [ '{0}' . format ( i ) ] #NEWLINE# typ = '' #NEWLINE# descr = s #NEWLINE# descr_only = True #NEWLINE# #UNINDENT# return Parameter ( names , typ , descr , tag = i , descr_only = descr_only , ** meta )