summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/user/c-info.beyond-basics.rst2
-rw-r--r--numpy/__init__.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/user/c-info.beyond-basics.rst b/doc/source/user/c-info.beyond-basics.rst
index 491c2c9ae..703124b58 100644
--- a/doc/source/user/c-info.beyond-basics.rst
+++ b/doc/source/user/c-info.beyond-basics.rst
@@ -378,6 +378,8 @@ register ufuncs for user-defined data-types.
...
+.. _user.user-defined-data-types:
+
User-defined data-types
=======================
diff --git a/numpy/__init__.py b/numpy/__init__.py
index 1592dc8cb..897c14060 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -93,7 +93,7 @@ the source code).
Copies vs. in-place operation
-----------------------------
Most of the functions in `numpy` return a copy of the array argument
-(e.g., `sort`). In-place versions of these functions are often
+(e.g., `np.sort`). In-place versions of these functions are often
available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``.
Exceptions to this rule are documented.