You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, it doesn't function correctly even in the simplest case. the_class.__new__(some_arg) should be called as the_class.__new__(the_class, some_arg) for proper operation. Secondly, it lacks generality. I suggest the following code as a more suitable replacement:
I believe the pseudocode for object construction on page 843 is somewhat misleading:
Firstly, it doesn't function correctly even in the simplest case.
the_class.__new__(some_arg)
should be called asthe_class.__new__(the_class, some_arg)
for proper operation. Secondly, it lacks generality. I suggest the following code as a more suitable replacement:The text was updated successfully, but these errors were encountered: