#NEWLINE# def add_arg( self , arg ) : #NEWLINE# #INDENT# 'Append an argument to this method.' #NEWLINE# if self . method : #NEWLINE# #INDENT# raise ValueError ( ( 'Argument is already in a method, %s' % arg ) ) #NEWLINE# #UNINDENT# self . args . append ( arg ) #NEWLINE# self . add_child ( arg ) #NEWLINE# arg . method = self #NEWLINE# return arg