#NEWLINE# def __hash__( self ) : #NEWLINE# #INDENT# _hash = self . _hash #NEWLINE# if ( self is None ) : #NEWLINE# #INDENT# self . _hash = _hash = hash ( ( self . ring , frozenset ( self . items ( ) ) ) ) #NEWLINE# #UNINDENT# return _hash