Object type check

king kikapu aboudouvas at panafonet.gr
Thu Feb 8 06:00:39 EST 2007


> 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 ??




More information about the Python-list mailing list