Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: Johannes Bauer Newsgroups: comp.lang.python Subject: Python3 doc, operator reflection Date: Mon, 28 Oct 2013 13:00:14 +0100 Lines: 12 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.dfncis.de iLjG/8a0/sVceXI0lLiohQ05uXiTDg09tsDnRmRkTjz4Um User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 Xref: csiph.com comp.lang.python:57812 Hi group, in http://docs.python.org/3/reference/datamodel.html#customization the doc reads: > There are no swapped-argument versions of these methods (to be used when the left argument does not support the operation but the right argument does); rather, __lt__() and __gt__() are each other’s reflection, __le__() and __ge__() are each other’s reflection, and __eq__() and __ne__() are their own reflection. But shouldn't __lt__ be the reflection or __ge__ and __gt__ the reflection of __le__? Best regards, Johannes