[ python-Bugs-1760423 ] No docs for list comparison

SourceForge.net noreply at sourceforge.net
Fri Jul 27 14:29:19 CEST 2007


Bugs item #1760423, was opened at 2007-07-25 11:39
Message generated for change (Comment added) made by chaese
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1760423&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kent Johnson (kjohnson)
Assigned to: Nobody/Anonymous (nobody)
Summary: No docs for list comparison

Initial Comment:
AFAICT there is no documentation for the behaviour of <, > or == for sequences. == is perhaps obvious but it would be worth noting that < and > for lists and strings does a lexicographical comparison on the list elements or string characters.

----------------------------------------------------------------------

Comment By: Carsten Haese (chaese)
Date: 2007-07-27 08:29

Message:
Logged In: YES 
user_id=99003
Originator: NO

http://docs.python.org/ref/comparisons.html works for me.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1760423&group_id=5470


More information about the Python-bugs-list mailing list