[Numpy-discussion] Are "min", "max" documented for scalars?

Robert Kern robert.kern at gmail.com
Thu Jun 7 11:22:25 EDT 2012


On Thu, Jun 7, 2012 at 2:25 PM, Edward C. Jones <edcjones at comcast.net> wrote:
> Silly mistakes.
>
> If a and b are Python ints, Python floats, or non-complex
> numpy.number's,  "max" returns, unchanged, the largrt of the two
> objects.  There is no coercion to a common type.  This useful behavior
> needs to be documented.

Suggestions for improving the standard Python documentation (which
documents these functions) can be sent here:

  http://docs.python.org/bugs.html#documentation-bugs

-- 
Robert Kern



More information about the NumPy-Discussion mailing list