#NEWLINE# def _set_prefixlen( self , value ) : #NEWLINE# #INDENT# if ( not isinstance ( value , _int_type ) ) : #NEWLINE# #INDENT# raise TypeError ( ( 'int argument expected, not %s' % type ( value ) ) ) #NEWLINE# #UNINDENT# if ( not ( 0 <= value <= self . _module . width ) ) : #NEWLINE# #INDENT# raise AddrFormatError ( ( 'invalid prefix for an %s address!' % self . _module . family_name ) ) #NEWLINE# #UNINDENT# self . _prefixlen = value