On Thu, 27 Dec 2007 22:38:44 -0800, Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>>On Wed, 26 Dec 2007 21:32:54 -0800, [EMAIL PROTECTED] 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
And sometimes it's not that simple but a property and connected with the
caller's history of `champagne.drink()` calls. The `person.is_pretty`
property is most definitely linked to that call history in many instances.
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list