Skip to content

Commit 0b6b3a7

Browse files
authored
docs: update copy
1 parent 4565e26 commit 0b6b3a7

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/array_api_stubs/_draft/elementwise_functions.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ def conj(x: array, /) -> array:
869869
Parameters
870870
----------
871871
x: array
872-
input array. Should have a numeric data type.
872+
input array. Must have a numeric data type.
873873
874874
Returns
875875
-------
@@ -879,11 +879,9 @@ def conj(x: array, /) -> array:
879879
Notes
880880
-----
881881
882-
.. versionadded:: 2022.12
882+
- Whether or not the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.
883883
884-
A conforming implementation may return a "view" into the input array or a copy. Therefore, whether
885-
the output array and the input array share the underlying memory buffer is unspecified and
886-
thus implementation-defined.
884+
.. versionadded:: 2022.12
887885
"""
888886

889887

@@ -2350,7 +2348,7 @@ def real(x: array, /) -> array:
23502348
Parameters
23512349
----------
23522350
x: array
2353-
input array. Should have a numeric data type.
2351+
input array. Must have a numeric data type.
23542352
23552353
Returns
23562354
-------
@@ -2360,11 +2358,9 @@ def real(x: array, /) -> array:
23602358
Notes
23612359
-----
23622360
2363-
.. versionadded:: 2022.12
2361+
- Whether or not the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.
23642362
2365-
A conforming implementation may return a "view" into the input array or a copy. Therefore, whether
2366-
the output array and the input array share the underlying memory buffer is unspecified and
2367-
thus implementation-defined.
2363+
.. versionadded:: 2022.12
23682364
"""
23692365

23702366

0 commit comments

Comments
 (0)