Ionel Cristian Mărieș added the comment: The docs do not explain that the check is performed against type(a). Nor that makes any sense - it's not very explicit.
AFAIK Python doesn't have any specification, the behaviour is defined by cpython implementation, and I hope that you realise that any "it's not in the spec" argument is a circular one. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23990> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com