![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: __init__() not called automatically
From: Steven Bethard <steven.bethard@gmail.com>
Date: Thu May 26 2005 - 16:22:49 CEST
Sriek wrote:
Ok, so here's another example:
def init(self):
class C(object):
C.__init__ = init
So how would the compiler know that init() is a constructor for the C
STeVe
|