summaryrefslogtreecommitdiff
path: root/doc/source/user
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/user')
-rw-r--r--doc/source/user/basics.subclassing.rst2
-rw-r--r--doc/source/user/building.rst2
-rw-r--r--doc/source/user/c-info.how-to-extend.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/user/basics.subclassing.rst b/doc/source/user/basics.subclassing.rst
index 55b23bb78..cee794b8c 100644
--- a/doc/source/user/basics.subclassing.rst
+++ b/doc/source/user/basics.subclassing.rst
@@ -523,7 +523,7 @@ which inputs and outputs it converted. Hence, e.g.,
>>> a.info
{'inputs': [0, 1], 'outputs': [0]}
-Note that another approach would be to to use ``getattr(ufunc,
+Note that another approach would be to use ``getattr(ufunc,
methods)(*inputs, **kwargs)`` instead of the ``super`` call. For this example,
the result would be identical, but there is a difference if another operand
also defines ``__array_ufunc__``. E.g., lets assume that we evalulate
diff --git a/doc/source/user/building.rst b/doc/source/user/building.rst
index 1a1220502..f6554c5e2 100644
--- a/doc/source/user/building.rst
+++ b/doc/source/user/building.rst
@@ -341,7 +341,7 @@ intended host and not the build system, set::
where ``${ARCH_TRIPLET}`` is an architecture-dependent suffix appropriate for
the host architecture. (This should be the name of a ``_sysconfigdata`` file,
-without the ``.py`` extension, found in in the host Python library directory.)
+without the ``.py`` extension, found in the host Python library directory.)
When using external linear algebra libraries, include and library directories
should be provided for the desired libraries in ``site.cfg`` as described
diff --git a/doc/source/user/c-info.how-to-extend.rst b/doc/source/user/c-info.how-to-extend.rst
index 155d56306..ffa141b95 100644
--- a/doc/source/user/c-info.how-to-extend.rst
+++ b/doc/source/user/c-info.how-to-extend.rst
@@ -111,7 +111,7 @@ Defining functions
==================
The second argument passed in to the Py_InitModule function is a
-structure that makes it easy to to define functions in the module. In
+structure that makes it easy to define functions in the module. In
the example given above, the mymethods structure would have been
defined earlier in the file (usually right before the init{name}
subroutine) to: