def hash(self):
        '''
        :rtype: int
        :return: hash of the container
        '''
        hashed = super(Trunc, self).hash()
        return khash(hashed, self._max_size)
def hash ( self ) : hashed = super ( Trunc , self ) . hash ( ) return khash ( hashed , self . _max_size )
:rtype: int
        :return: hash of the container