INADA Naoki <songofaca...@gmail.com> added the comment:
Is this make sense? >>> set.add(0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: descriptor 'add' for type 'set' doesn't apply to type 'int' >>> set.add.__get__(0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: descriptor 'add' for type 'set' doesn't apply to type 'int' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36026> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com