diff --git a/doc/source/reference/routines.err.rst b/doc/source/reference/routines.err.rst index 8f5106f76def..5272073a3b00 100644 --- a/doc/source/reference/routines.err.rst +++ b/doc/source/reference/routines.err.rst @@ -14,12 +14,3 @@ Setting and getting error handling seterrcall geterrcall errstate - -Internal functions ------------------- - -.. autosummary:: - :toctree: generated/ - - seterrobj - geterrobj diff --git a/numpy/core/_ufunc_config.py b/numpy/core/_ufunc_config.py index 30694d6e252e..6d305d1ff7c0 100644 --- a/numpy/core/_ufunc_config.py +++ b/numpy/core/_ufunc_config.py @@ -158,7 +158,7 @@ def setbufsize(size): .. versionchanged:: 2.0 The scope of setting the buffer is tied to the `np.errstate` context. - Exiting a ``with errstate():` will also restore the bufsize. + Exiting a ``with errstate():`` will also restore the bufsize. Parameters ----------