On Mar 3, 10:38 am, Stephen Evans wrote:
> The CPython builtins min() and max() both return the first satisfactory
> object found. This behaviour is undocumented. Examining the source in
> bltinmodule.c shows that min() and max() both result in a call to min_max()
> with Py_LT and Py_GT passed
The CPython builtins min() and max() both return the first satisfactory object
found. This behaviour is undocumented. Examining the source in bltinmodule.c
shows that min() and max() both result in a call to min_max() with Py_LT and
Py_GT passed respectively.
The behaviour of min() is correct.