def __repr__(self):
        """Return a readable representation of the matcher
        Used mostly for AssertionError messages in failed tests.

        Example::

            <Dict[<String> => <Any>]>
        """
        of = ""

        if self.items is not None:
            of = "[%r]" % self.items

        if self.keys is not None or self.values is not None:
            keys = repr(Any() if self.keys is None else self.keys)
            values = repr(Any() if self.values is None else self.values)
            of = "[%s => %s]" % (keys, values)

        return "<%s%s>" % (self.__class__.__name__, of)
def __repr__ ( self ) : of = "" if self . items is not None : of = "[%r]" % self . items if self . keys is not None or self . values is not None : keys = repr ( Any ( ) if self . keys is None else self . keys ) values = repr ( Any ( ) if self . values is None else self . values ) of = "[%s => %s]" % ( keys , values ) return "<%s%s>" % ( self . __class__ . __name__ , of )
Return a readable representation of the matcher
        Used mostly for AssertionError messages in failed tests.

        Example::

            <Dict[<String> => <Any>]>