8000 DOC: Adopt changes as suggested in review · numpy/numpy@b1e103e · GitHub
[go: up one dir, main page]

Skip to content

Commit b1e103e

Browse files
sebergcharris
authored andcommitted
DOC: Adopt changes as suggested in review
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
1 parent daa2e1e commit b1e103e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,12 +1332,13 @@ Special functions for NPY_OBJECT
13321332
NumPy itself accepts ``NULL`` as an alias for ``None``, but may ``assert``
13331333
non-``NULL`` when compiled in debug mode.
13341334
1335-
Users **must** expect a value of ``NULL`` when working with buffers created
1335+
Because NumPy is not yet consistent about initialization with None,
1336+
users **must** expect a value of ``NULL`` when working with buffers created
13361337
by NumPy. Users **should** also ensure to pass fully initialized buffers
13371338
to NumPy, since NumPy may make this a strong requirement in the future.
13381339
13391340
There is currently an intention to ensure that NumPy always initalizes
1340-
object arrays before it may be read. Any failure to do so will be
1341+
object arrays before they may be read. Any failure to do so will be
13411342
regarded as a bug.
13421343
In the future, users may be able to rely on non-NULL values when reading
13431344
from any array, although exceptions for writing to freshly created arrays

0 commit comments

Comments
 (0)
0