Re: List mutation method gotcha - How well known?



Chris wrote:

No output because x is a NoneType...

That's behavior of the interactive interpreter when printing results of expressions, not of print. It will print None.

--
Erik Max Francis && max@xxxxxxxxxxx && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
There is no present or future; only the past, happening over and over
again, now. -- Eugene O'Neill
.



Relevant Pages