Skip to content

Commit 50d64e5

Browse files
IsaacWarrenrossbar
andauthored
DOC: Fix typos in subclassing documentation (numpy#27743)
* DOC: Fix typos in subclassing documentation Co-authored-by: Ross Barnowski <[email protected]>
1 parent dd8e8f5 commit 50d64e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/user/basics.subclassing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This can result in surprising behavior if you use NumPy methods or
4242
functions you have not explicitly tested.
4343

4444
On the other hand, compared to other interoperability approaches,
45-
subclassing can be a useful because many thing will "just work".
45+
subclassing can be useful because many things will "just work".
4646

4747
This means that subclassing can be a convenient approach and for a long time
4848
it was also often the only available approach.
@@ -227,7 +227,7 @@ like::
227227

228228
obj = ndarray.__new__(subtype, shape, ...
229229

230-
where ``subdtype`` is the subclass. Thus the returned view is of the
230+
where ``subtype`` is the subclass. Thus the returned view is of the
231231
same class as the subclass, rather than being of class ``ndarray``.
232232

233233
That solves the problem of returning views of the same type, but now

0 commit comments

Comments
 (0)