List mutation method gotcha - How well known?

Erik Max Francis max at alcyone.com
Thu Mar 13 19:22:51 EDT 2008


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 at alcyone.com && 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



More information about the Python-list mailing list