On Fri, Jul 14, 2000 at 11:20:02AM -0400, Andrew Kuchling wrote: > On Fri, Jul 14, 2000 at 11:17:17AM -0400, Greg Wilson wrote: > >I want overloadable '__min__' and 'min=', and everything else that has > >these forms is binary infix (I think). > One exception to the binary infix form: 'if foo' will call > foo.__nonzero__. And another: int(foo) (and other, implicit conversions) call foo.__int__. However, I think overloading 'min' and 'max' should fall under the rich comparisons PEP. -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4