A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/038613.html below:

[Python-Dev] obj.__contains__() returns 1/0...

[Python-Dev] obj.__contains__() returns 1/0...gminick gminick at hacker.pl
Thu Oct 9 01:41:16 EDT 2003
On Wed, Oct 08, 2003 at 09:42:18PM +0200, gminick wrote:
> ...shouldn't it return True/False?
[...]
> The reason for asking is that i.e. obj.__eq__() returns True/False,
> and besides True/False looks nicer than 1/0 ;>
> 
> ps. I'll send a patch to sf.net in a matter of minutes.
>     Please, decide if it should be applied, thanks.
Ok, no need to discuss:

Category: Core (C code)
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Wojtek Walczak (gminick)
Assigned to: Nobody/Anonymous (nobody)
Summary: obj.__contains__() returns 1/0...

-- 
[ Wojtek Walczak - gminick (at) underground.org.pl ]
[        <http://gminick.linuxsecurity.pl/>        ]
[ "...rozmaite zwroty, matowe od patyny dawnosci." ]


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4