homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients eric.araujo, ethan.furman, ezio.melotti, georg.brandl, python-dev, r.david.murray
Date 2014年11月03日.20:37:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415047038.39.0.213432984086.issue22780@psf.upfronthosting.co.za>
In-reply-to
Content
+ Special value which should be returned by the special methods
+ (:meth:`__eq__`, :meth:`__lt__`, :meth:`__add__`, etc.) to indicate
+ that the operation is not implemented with respect to the other type.
After a discussion on python-dev, I think this wording could be even clearer. How about:
 Special value which should be returned by the binary special methods
 (e.g. :meth:`__eq__`, :meth:`__lt__`, :meth:`__add__`, :meth:`__rsub__`,
 etc.) to indicate that the operation is not implemented with respect to
 the other type; may be returned by the in-place binary special methods
 (e.g. :meth:`__imul__`, :meth:`__iand__`, etc.) for the same purpose.
History
Date User Action Args
2014年11月03日 20:37:18ethan.furmansetrecipients: + ethan.furman, georg.brandl, ezio.melotti, eric.araujo, r.david.murray, python-dev
2014年11月03日 20:37:18ethan.furmansetmessageid: <1415047038.39.0.213432984086.issue22780@psf.upfronthosting.co.za>
2014年11月03日 20:37:18ethan.furmanlinkissue22780 messages
2014年11月03日 20:37:18ethan.furmancreate

AltStyle によって変換されたページ (->オリジナル) /