#NEWLINE# def __le__( self , other ) : #NEWLINE# #INDENT# if ( not isinstance ( other , FreqDist ) ) : #NEWLINE# #INDENT# raise_unorderable_types ( '<=' , self , other ) #NEWLINE# #UNINDENT# return ( set ( self ) . issubset ( other ) and all ( ( ( self [ key ] <= other [ key ] ) for key in self ) ) )