numpy/numpy — pull request #4498 by meltingwax (2014-03-15 19:27:01+00:00)
Title: DOC: specify that 2d array must be non-empty in np.poly error message.

Fixes #2092. Changes message passed to ValueError.

Now more explicit for empty 2D arrays:
```
>>> np.poly(np.zeros((0,0)))
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/polynomial.py", line 130, in poly
raise ValueError("input must be 1d or non-empty square 2d array.")
ValueError: input must be 1d or non-empty square 2d array.
```