Optimizing methods away or not?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sun Dec 14 04:21:19 EST 2008


On Sun, 14 Dec 2008 09:19:45 +0000, Marc 'BlackJack' Rintsch wrote:

> class Parrot:
>     def __init__(self, *args):
>         print "Initialising instance..."
>         assert self.verify()

Here I meant ``assert self._verify()`` of course.

>     def _verify(self):
>         print "Verifying..."
>         return None

Ciao,
 	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list