Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Re: Unicode and comparisons

Guido van Rossumguido@python.org
Tue, 04 Apr 2000 15:49:32 -0400


> I always thought it is a core property of cmp that it works between> all objects.Not any more.  Comparisons can raise exceptions -- this has been sosince release 1.5.  This is rarely used between standard objects, butnot unheard of; and class instances can certainly do anything theywant in their __cmp__.--Guido van Rossum (home page:http://www.python.org/~guido/)


[8]ページ先頭

©2009-2025 Movatter.jp