Object type check
Michele Simionato
michele.simionato at gmail.com
Thu Feb 8 06:07:45 EST 2007
On Feb 8, 12:00 pm, "king kikapu" <aboudou... at panafonet.gr> wrote:
> > def modify(list_of_x):
> > for x in list_of_x:
> > try:
> > x.change_in_place # don't call the method, just check it exists
>
> XXmmmm...what exactly is going on here ? I mean, what is actually
> happens if you omit the parenethesis as you just did ? I understand
> that it does not call the method, but what is really doing ??
See http://users.rcn.com/python/download/Descriptor.htm for more than
you ever wanted
to know about attribute access in Python.
Michele Simionato
More information about the Python-list
mailing list