Python 2 permitted defining __new__, then deleting it once it had been used. Python 3 does not directly reject that pattern, but instead always fails with an error about wrong number of arguments to object(). Switch to a simple classmethod that is explicitly invoked by the first __init__(). |
||
---|---|---|
common | ||
contrib | ||
d1x-rebirth | ||
d2x-rebirth | ||
Documentation | ||
similar | ||
.gitattributes | ||
.gitignore | ||
COPYING.txt | ||
GPL-3.txt | ||
INSTALL.markdown | ||
ISSUE_TEMPLATE.md | ||
SConstruct |