Skip to content

Commit ec34c6d

Browse files
authored
chore: remove redundant words in comment (#29306)
1 parent 3727d5b commit ec34c6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/source/reference/c-api/array.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3814,7 +3814,7 @@ In this case, the helper C files typically do not have a canonical place
38143814
where ``PyArray_ImportNumPyAPI`` should be called (although it is OK and
38153815
fast to call it often).
38163816
3817-
To solve this, NumPy provides the following pattern that the the main
3817+
To solve this, NumPy provides the following pattern that the main
38183818
file is modified to define ``PY_ARRAY_UNIQUE_SYMBOL`` before the include:
38193819
38203820
.. code-block:: c

numpy/_core/src/common/dlpack/dlpack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ typedef struct DLManagedTensor {
270270
void (*deleter)(struct DLManagedTensor * self);
271271
} DLManagedTensor;
272272

273-
// bit masks used in in the DLManagedTensorVersioned
273+
// bit masks used in the DLManagedTensorVersioned
274274

275275
/*! \brief bit mask to indicate that the tensor is read only. */
276276
#define DLPACK_FLAG_BITMASK_READ_ONLY (1UL << 0UL)

numpy/_core/src/multiarray/alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ _npy_init_workspace(
7575

7676
/*
7777
* Helper definition macro for a small work/scratchspace.
78-
* The `NAME` is the C array to to be defined of with the type `TYPE`.
78+
* The `NAME` is the C array to be defined of with the type `TYPE`.
7979
*
8080
* The usage pattern for this is:
8181
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy