Skip to content

Commit

Permalink
DOC: Add missing sphinx reference roles
Browse files Browse the repository at this point in the history
  • Loading branch information
F3eQnxN3RriK committed Aug 21, 2023
1 parent 89f35f9 commit d035e7c
Show file tree
Hide file tree
Showing 13 changed files with 66 additions and 66 deletions.
2 changes: 1 addition & 1 deletion doc/source/reference/c-api/array.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ Converting data types
Convert a sequence of Python objects contained in *op* to an array
of ndarrays each having the same data type. The type is selected
in the same way as `PyArray_ResultType`. The length of the sequence is
in the same way as :c:func:`PyArray_ResultType`. The length of the sequence is
returned in *n*, and an *n* -length array of :c:type:`PyArrayObject`
pointers is the return value (or ``NULL`` if an error occurs).
The returned array must be freed by the caller of this routine
Expand Down
4 changes: 2 additions & 2 deletions numpy/core/_ufunc_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def seterr(all=None, divide=None, over=None, under=None, invalid=None):
Set treatment for all types of floating-point errors at once:
- ignore: Take no action when the exception occurs.
- warn: Print a `RuntimeWarning` (via the Python `warnings` module).
- raise: Raise a `FloatingPointError`.
- warn: Print a :exc:`RuntimeWarning` (via the Python `warnings` module).
- raise: Raise a :exc:`FloatingPointError`.
- call: Call a function specified using the `seterrcall` function.
- print: Print a warning directly to ``stdout``.
- log: Record error in a Log object specified by `seterrcall`.
Expand Down

0 comments on commit d035e7c

Please sign in to comment.