Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!ra.nrl.navy.mil!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: "monty" < "python" Date: Wed, 20 Mar 2013 16:04:28 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 21 Message-ID: References: NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader2.panix.com 1363795468 1483 64.122.56.22 (20 Mar 2013 16:04:28 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 20 Mar 2013 16:04:28 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:41608 On 2013-03-20, franzferdinand wrote: >>>> "Monty" < "Python" > True >>>> "Z" < "a" > True >>>> "Monty" < "Montague" > > False > What's the rule about that? I don't know what "that" refers to in your question, but 'a' comes before 'y' if that's what you're asking. > Is it the number of letters or what? Individual letters are compared until a mismatch is found. -- Grant Edwards grant.b.edwards Yow! You were s'posed at to laugh! gmail.com