#NEWLINE# def _swig_setattr_nondynamic( self , class_type , name , value , static = 1 ) : #NEWLINE# #INDENT# if ( name == 'thisown' ) : #NEWLINE# #INDENT# return self . this . own ( value ) #NEWLINE# #UNINDENT# if ( name == 'this' ) : #NEWLINE# #INDENT# if ( type ( value ) . __name__ == 'SwigPyObject' ) : #NEWLINE# #INDENT# self . __dict__ [ name ] = value #NEWLINE# return #NEWLINE# #UNINDENT# #UNINDENT# method = class_type . __swig_setmethods__ . get ( name , None ) #NEWLINE# if method : #NEWLINE# #INDENT# return method ( self , value ) #NEWLINE# #UNINDENT# if ( not static ) : #NEWLINE# #INDENT# self . __dict__ [ name ] = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise AttributeError ( ( 'You cannot add attributes to %s' % self ) )