List mutation method gotcha - How well known?

cokofreedom at gmail.com cokofreedom at gmail.com
Thu Mar 13 06:51:42 EDT 2008


Still, I suppose this is a gotcha for a lot of people, just follow the
good advice Paul said;
"By Python convention, methods that mutate the object return None, and
also stuff that returns None doesn't generate output at the
interactive prompt."

And you should survive most.



More information about the Python-list mailing list