bpo-31506: Clarify error messages for object.__new__ and object.__init__ by CuriousLearner · Pull Request #11641 · python/cpython
ncoghlan
changed the title
bpo-31506: Fix the error message logic for object.__new__ and object.__init__
bpo-31506: Clarify error messages for object.__new__ and object.__init__
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Feb 19, 2019…t__ (pythonGH-11641) `object.__new__` and `object.__init__` do take one argument each, they just don't take extra user supplied arguments. Patch by Sanyam Khurana. (cherry picked from commit 5105483) Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>
miss-islington added a commit that referenced this pull request
Feb 19, 2019This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters