Rant (was Re: x*x if x>10

DaveM asma61 at dsl.pipex.com
Sun Jul 27 21:43:58 CEST 2008


On Sun, 27 Jul 2008 19:46:32 +0200, "Diez B. Roggisch" <deets at nospam.web.de>
wrote:


>As a rule of thumb, don't return objects you didn't create inside a 
>function from scratch.

I wish I'd had that advice when I started learning python. It would have
saved me no end of grief.

DaveM



More information about the Python-list mailing list