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

Robert Kern robert.kern@gmail....
Thu Jun 7 10:22:25 CDT 2012


On Thu, Jun 7, 2012 at 2:25 PM, Edward C. Jones <edcjones@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