homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Damjan.Košir
Recipients Damjan.Košir
Date 2012年03月10日.18:01:01
SpamBayes Score 1.2227186e-08
Marked as misclassified No
Message-id <1331402462.68.0.808379005089.issue14247@psf.upfronthosting.co.za>
In-reply-to
Content
In operator acts like it doesn't return a boolean value
>>> 3 in [1,2,3] == True
False
and even
>>> 3 in [1,2,3] == 3 in [1,2,3]
False
but somehow if you add ( ) it starts working
>>> (3 in [1,2,3]) == True
True
Tested on OSX 10.7 Python 2.7.1
History
Date User Action Args
2012年03月10日 18:01:02Damjan.Koširsetrecipients: + Damjan.Košir
2012年03月10日 18:01:02Damjan.Koširsetmessageid: <1331402462.68.0.808379005089.issue14247@psf.upfronthosting.co.za>
2012年03月10日 18:01:02Damjan.Koširlinkissue14247 messages
2012年03月10日 18:01:01Damjan.Košircreate

AltStyle によって変換されたページ (->オリジナル) /