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.pythonDate : 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.