numpy/numpy — pull request #4127 by nouiz (2013-12-17 21:02:22+00:00)
Title: Fix doc and error handling in Argmax

I didn't test the error handling case, but the solution look trivial to me as this is what is done in other cases of error.