Smalltalk and Python

Toby Dickenson mbel44 at dial.pipex.net
Fri Dec 15 11:44:57 CET 2000


"Alex Martelli" <aleaxit at yahoo.com> wrote:

>    def __init__(self):
>        self.a = A()
>        self.a.g = self.g


Note quite - self.a.g is now a circular reference.

Toby Dickenson
tdickenson at geminidataloggers.com



More information about the Python-list mailing list