summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/release/upcoming_changes/21468.new_feature.rst8
-rw-r--r--numpy/lib/utils.py6
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/release/upcoming_changes/21468.new_feature.rst b/doc/release/upcoming_changes/21468.new_feature.rst
index 64678b1c3..c37f05735 100644
--- a/doc/release/upcoming_changes/21468.new_feature.rst
+++ b/doc/release/upcoming_changes/21468.new_feature.rst
@@ -1,6 +1,6 @@
-New function `np.show_runtime`
-------------------------------
+New function ``np.show_runtime``
+--------------------------------
-A new function `np.show_runtime` has been added to display the runtime
-information of the machine in addition to `np.show_config` which displays
+A new function `numpy.show_runtime` has been added to display the runtime
+information of the machine in addition to `numpy.show_config` which displays
the build-related information.
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py
index 479535dcc..2fcf270c4 100644
--- a/numpy/lib/utils.py
+++ b/numpy/lib/utils.py
@@ -29,10 +29,10 @@ def show_runtime():
Notes
-----
- 1. Information is derived with the help of `threadpoolctl`
+ 1. Information is derived with the help of `threadpoolctl <https://pypi.org/project/threadpoolctl/>`_
library.
- 2. SIMD related information is derived from `__cpu_features__`,
- `__cpu_baseline__` and `__cpu_dispatch__`
+ 2. SIMD related information is derived from ``__cpu_features__``,
+ ``__cpu_baseline__`` and ``__cpu_dispatch__``
Examples
--------