Deutsch   English   Français   Italiano  
<865xm95m91.fsf@williamsburg.bawden.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!bawden.eternal-september.org!.POSTED!not-for-mail
From: Alan Bawden <alan@csail.mit.edu>
Newsgroups: comp.lang.python
Subject: Re: bool type have big problem. finally program returned "True".Is this the TRUE spec?
Date: Mon, 20 Jan 2025 14:16:42 -0500
Organization: ITS Preservation Society
Lines: 7
Message-ID: <865xm95m91.fsf@williamsburg.bawden.org>
References: <CAAoNPLevMbMzeuCRKDqY2n6Wg2=fkSUohHEGAhN0tS83hne07Q@mail.gmail.com>
	<mailman.92.1737391296.2912.python-list@python.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 20 Jan 2025 20:16:43 +0100 (CET)
Injection-Info: bawden.eternal-september.org; posting-host="7a9c28da47d1ad7501354ef2786ebb8f";
	logging-data="3543964"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+XGFMSUPX9TNt1bFPrvR7Z"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:3p2UYo+N1N6K+tUAEToan1tbf/g=
	sha1:kZEcL9RL4jC5jb+15MRTZH3XeSo=
Bytes: 1362

あうぇくろ <deqser25@gmail.com> writes:

   tpr=composite(type,print)
   print(tpr('a')==tpr(1))
   Why does tpr('a')==tpr(1) return True?

Because tpr always returns the value None.