Python Newbie

Roy Smith roy at panix.com
Sun Feb 24 16:08:01 EST 2013


In article <mailman.2438.1361739512.2939.python-list at python.org>,
 Chris Angelico <rosuav at gmail.com> wrote:

> > no need to remember what's an object and what's not -- everything is an
> > object

Well, not quite everything.  If I write:

if foo:
   do_this()
   and_this()

the code block making up the body of the "if" statement is not an 
object.  In some languages, it is.



More information about the Python-list mailing list