magicmethods icon indicating copy to clipboard operation
magicmethods copied to clipboard

“actually creates”

Open isomorphisms opened this issue 5 years ago • 0 comments

when I call x = SomeClass(), init is not the first thing to get called. Actually, it's a method called new, which actually creates the instance,

This wasn’t clear to me. What does “actually creates” mean? Is space being allocated within a part of memory/disk that's reserved for the Python interpreter? If so, what do methods look like?

A more concrete list would be preferable, for this reader.

Thanks for writing this!

isomorphisms avatar Oct 30 '19 22:10 isomorphisms