Re: bool type have big problem. finally program returned "True".Is this the TRUE spec?

Liste des GroupesRevenir à cl python 
Sujet : Re: bool type have big problem. finally program returned "True".Is this the TRUE spec?
De : alan (at) *nospam* csail.mit.edu (Alan Bawden)
Groupes : comp.lang.python
Date : 20. Jan 2025, 20:16:42
Autres entêtes
Organisation : ITS Preservation Society
Message-ID : <865xm95m91.fsf@williamsburg.bawden.org>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
あうぇくろ <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.

Date Sujet#  Auteur
18 Jan 25 * bool type have big problem. finally program returned "True".Is this the TRUE spec?2あうぇくろ
20 Jan 25 `- Re: bool type have big problem. finally program returned "True".Is this the TRUE spec?1Alan Bawden

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal