I have seen the use of __new__ in several answers across the site, especially in things like:
super().__new__(*args)
Whereas I use:
super().__init__(*args)
- Is it similar to
__init__? - Is it even a method?
- Which should a beginner use?
I have seen the use of __new__ in several answers across the site, especially in things like:
super().__new__(*args)
Whereas I use:
super().__init__(*args)
__init__?