#NEWLINE# def __init__( self , got , min , max = min , extra = None ) : #NEWLINE# #INDENT# if ( min != max ) : #NEWLINE# #INDENT# expected = ( '%d-%d' % ( min , max ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# expected = ( '%d' % faultString ) #NEWLINE# #UNINDENT# faultString = ( 'Expected %s arguments, got %d' % ( expected , got ) ) #NEWLINE# SfaFault . __init__ ( self , 101 , faultString , extra )