Happy Christmas Pythoneers
Aahz
aahz at pythoncraft.com
Fri Dec 28 01:38:44 EST 2007
In article <pan.2007.12.27.07.47.28 at REMOVE.THIS.cybersource.com.au>,
Steven D'Aprano <steven at REMOVE.THIS.cybersource.com.au> wrote:
>On Wed, 26 Dec 2007 21:32:54 -0800, mensanator at aol.com wrote:
>>
>> Hey, my version of the person module doesn't have an is_appropriate_sex
>> attribute, but an is_opposite_sex attribute instead. Is this a new
>> version?
>
>Generally instances use:
>
>person.is_appropriate_sex = person.is_opposite_sex
>
>but some instances define it as:
>
>person.is_appropriate_sex = not person.is_opposite_sex
>
>It's an implementation detail, you shouldn't worry about it.
Then again, some instances define it as
person.is_appropriate_sex = True
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Typing is cheap. Thinking is expensive." --Roy Smith
More information about the Python-list
mailing list