Can "self" crush itself?
clp2 at rebertia.com
Wed Nov 25 10:58:49 CET 2009
On Wed, Nov 25, 2009 at 1:46 AM, n00m <n00m at narod.ru> wrote:
> Then how can we destroy the 3rd instance,
> right after its creation and from inside
> class Moo code?
Why would you want to do that in the first place? It's strange to say the least.
If you want to prevent an instance being created in the first place,
you can override __new__().
More information about the Python-list