Irit Katriel <iritkatr...@yahoo.com> added the comment:
This PR probably doesn't improve test coverage because the feature is tested indirectly (and directly from test_typing). But I think this test should be added nevertheless for completeness and to demonstrate how the feature works. That said, this test shows that the documentation of issubclass is not quite accurate when it states that "a class is considered a subclass of itself" (https://docs.python.org/3/library/functions.html#issubclass). That should probably be a separate bpo. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25479> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com