Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
You need to set the __module__ attribute. B.__module__ = __name__ ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35510> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com