recursion problem

Uwe Schmitt schmitt at
Mon Sep 17 19:07:44 CEST 2001

Duncan Booth <duncan at> wrote:
| Uwe Schmitt <schmitt at> wrote in 
| news:9o51uk$441g6$1 at

|> and then i get a message like "None object has no attribute append()"...
|> Where does the "None" in the last line come from ? I don't understand
|> this behaviour of my routine. Each return-statement in my
|> script returns a list...
| Nope. One of them returns the result of calling the append method on a 
| list. The append method modifies the list and returns None.
|> Is this a python bug ? Is it possible that the stack is corrupted ???
|> Or am i just stupid ?
| No, no, and probably also no.

thanks for that fast answer. greetings, uwe.

Uwe.Schmitt at      Universität des Saarlandes
phone: +49 (0)681/302-2468     Geb. 36.1, Zi. 4.17, PF 151150
                               D-66041  Saarbrücken

More information about the Python-list mailing list