DOC: Update the docs for the C API to reflect the change in return type of PyArray_ITEMSIZE
DOC: fix typos and clarify multi_dot docstring..

- fix singular/plural issues
- don't switch between "order" and "ordering"; use "order"
- clarify the shapes of the arguments
- don't "import numpy as np" in docstring
BUG: digitize segfaults on TypeError

The new searchsorted-based digitize introduced in #5101 segfaults
when it should raise a TypeError.
Merge pull request #5355 from jaimefrio/digitize_bug

BUG: digitize segfaults on TypeError
BUG: Closes #2015: diag returns ndarray

If x is a matrix, np.diag(x) and np.diagonal(x) now return matrices
instead of arrays.  Both of these cause x.diagonal() to be called.
That means they return row vectors (just like x.flatten(), x.ravel(),
x.cumprod(), etc.)
Improved PEP-8 compliance
DOC : minor changes to linspace docstring

 - added optional flag to dtype
 - moved conditional on step to the description from the type
Merge pull request #5359 from tacaswell/linspace_doc

DOC : minor changes to linspace docstring
Merge pull request #5277 from sotte/multidot_typos

DOC: fix typos and clarify multi_dot docstring..
MAINT: Update printf statements in fortranobject.c

Using NPY_INTP_FMT to format PyArray_ITEMSIZE
MAINT: cast PyArray_ITEMSIZE result to avoid warnings

return type depends on API version used
Merge pull request #5287 from chatcannon/reconcile-c-api-with-docs

Reconcile C API with docs
DOC: Give a more explicit reference to the .npy format documentation in the 'save' docstring.
DOC : list type option in tensordot axes arg
DOC : do not abuse enumeration for return types

change '{ndarray, float}' -> 'ndarray or float' as {} are for
when the value is an enumeration
DOC : move shape to front to match rest of docs
DOC : do not abuse enum markup

 - {ndarray, bool} -> ndarray or bool
 - {int, array of ints} -> int or array of ints
 - {str, function} -> str or function
 - {sequnce, int} -> sequence or int
 - {array_like, poly1d} -> array_like or poly1d
 - {None, list of `m` scalars, scalar} -> list of `m` scalars or scalar
DOC : integer -> int doc nitpick
DOC : added missing space in frexp docstring
DOC : optional parenthesis