On 28 Dec 2005 15:25:30 -0800,
[EMAIL PROTECTED] wrote:

> hi, i have the following recursive function (simplified to demonstrate
> the problem):

>>>> def reTest(bool):
> ...   result = []
> ...   if not bool:
> ...           reTest(True)

Don't do that.  Do this instead:

                result = reTest(True)

[ rest of example snipped ]

HTH,
Dan

-- 
Dan Sommers
<http://www.tombstonezero.net/dan/>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to