Functions, parameters
Boris Ozegovic
silovana.vjeverica at com.gmail
Thu Feb 8 14:29:48 EST 2007
Paul Rubin wrote:
> Since split is applied to argname, it retrieves 'question' and 'startswith'.
Exactly. :) And, 'questions' and 'startswith' are two string, and not
references at Poll.question, or more precisely, instanceOfPoll.question.
I suppose this is what I was looking for:
__getattribute__(...)
x.__getattribute__('name') <==> x.name
Tnx guys.
--
http://www.nacional.hr/articles/view/23894/23
More information about the Python-list
mailing list