SilentGhost <ghost....@runbox.com> added the comment:

It seems you're misunderstanding the point of __new__ and your usage of it is a 
bit strange. You're getting an error because you're ultimately calling 
object.__new__ which doesn't accept any other arguments but the class for 
instantiation. I'd suggest the documentation for object.__new__ 
(https://docs.python.org/3/reference/datamodel.html#object.__new__) and the 
Data model page in general.

----------
nosy: +SilentGhost

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36827>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to