Sergey B Kirpichev <skirpichev at gmail.com> added the comment: > self(1) instead or, rather, type(self)(1) ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue47079> _______________________________________