File tree 1 file changed +5
-5
lines changed
spec/API_specification/array_api
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ def __bool__(self: array, /) -> bool:
229
229
Parameters
230
230
----------
231
231
self: array
232
- zero-dimensional array instance. Must have a boolean data type.
232
+ zero-dimensional array instance. Should have a boolean data type.
233
233
234
234
Returns
235
235
-------
@@ -244,7 +244,7 @@ def __complex__(self: array, /) -> bool:
244
244
Parameters
245
245
----------
246
246
self: array
247
- zero-dimensional array instance. Must have a complex data type.
247
+ zero-dimensional array instance. Should have a complex data type.
248
248
249
249
Returns
250
250
-------
@@ -361,7 +361,7 @@ def __float__(self: array, /) -> float:
361
361
Parameters
362
362
----------
363
363
self: array
364
- zero-dimensional array instance. Must have a real-valued floating-point data type.
364
+ zero-dimensional array instance. Should have a real-valued floating-point data type.
365
365
366
366
Returns
367
367
-------
@@ -498,7 +498,7 @@ def __index__(self: array, /) -> int:
498
498
Parameters
499
499
----------
500
500
self: array
501
- zero-dimensional array instance. Must have an integer data type.
501
+ zero-dimensional array instance. Should have an integer data type.
502
502
503
503
Returns
504
504
-------
@@ -513,7 +513,7 @@ def __int__(self: array, /) -> int:
513
513
Parameters
514
514
----------
515
515
self: array
516
- zero-dimensional array instance. Must have an integer data type.
516
+ zero-dimensional array instance. Should have an integer data type.
517
517
518
518
Returns
519
519
-------
You can’t perform that action at this time.
0 commit comments