def _getAssertEqualityFunc(self, first, second):
<EOL>if type(first) is type(second):<EOL><INDENT>asserter = self._type_equality_funcs.get(type(first))<EOL>if asserter is not None:<EOL><INDENT>return asserter<EOL><DEDENT><DEDENT>return self._baseAssertEqual<EOL>
Get a detailed comparison function for the types of the two args.

        Returns: A callable accepting (first, second, msg=None) that will
        raise a failure exception if first != second with a useful human
        readable error message for those types.