[Patches] [ python-Patches-744238 ] Error in comparison documentation
SourceForge.net
noreply@sourceforge.net
Tue, 27 May 2003 05:52:56 -0700
Patches item #744238, was opened at 2003-05-27 12:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=744238&group_id=5470