Matthew Warren wrote:

> I have the following code that implements a simple recursive tree like
> structure.
> 
> The trouble is with the GetTreeBranch function, the print statement
> prints a valid value but the return immediatley afterward doesn't return
> anything.

hint: how many "return" statements do you see in this piece of code:

            else:
                 GetTreeBranch(path[1:],item[path[0]])

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to