In article <mailman.7073.1392591754.18130.python-l...@python.org>,
 Chris Angelico <ros...@gmail.com> wrote:

> On Mon, Feb 17, 2014 at 9:54 AM, Gregory Ewing
> <greg.ew...@canterbury.ac.nz> wrote:
> > Chris Angelico wrote:
> >>
> >> Because everything in Python is an object, and objects always are
> >> handled by their references.
> >
> >
> > <beginner_thought> So, we have objects... and we have
> > references to objects... but everything is an object...
> > so does that mean references are objects too?
> > </beginner_thought>
> 
> References aren't themselves objects. Names, attributes, etc, etc,
> etc, all refer to objects. Is it clearer to use the verb "refer"
> rather than the noun "reference"?
> 
> ChrisA

I know functions are objects, but what about statements?  Is the body of 
a for loop an object?  It is in some languages.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to