hongweipeng <hongweichen8...@sina.com> added the comment: The document says(https://docs.python.org/3.9/reference/datamodel.html?highlight=__rpow__#object.__rpow__): >Note that ternary pow() will not try calling __rpow__() (the coercion rules >would become too complicated).
---------- nosy: +hongweipeng _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38302> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com