On Thu, Apr 13, 2017 at 4:18 PM, Rustom Mody <rustompm...@gmail.com> wrote: > I believe it was ChrisA who gave a pithy summary of the situation: > Dont CALL dunders > But its fine to DEFINE them
As others have mentioned, you call dunders during the definitions of dunders, mainly during subclassing. But from outside the class, you generally shouldn't. ChrisA -- https://mail.python.org/mailman/listinfo/python-list