[Patches] [ python-Patches-744238 ] Error in comparison documentation
SourceForge.net
noreply@sourceforge.net
Sat, 31 May 2003 01:06:12 -0700
Patches item #744238, was opened at 2003-05-27 14:52
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=744238&group_id=5470
Category: Documentation
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Gerrit Holl (gerrit)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in comparison documentation
Initial Comment:
Hi,
libstdtypes.tex line 147-148 reads:
Objects of different types, except different numeric types,
never compare equal;
However, this is incorrect, because u"" == "" but
u"".class != "".class.
This should be:
Objects of different types, except different numeric types
and different string types, never compare equal;
...or something similar.
The attached patch fixes this.
yours,
Gerrit.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-05-31 10:06
Message:
Logged In: YES
user_id=21627
Thanks for the patch. Applied as libstdtypes.tex 1.126
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=744238&group_id=5470