Skip to content

Commit 8b300c3

Browse files
committed
chore: wip
1 parent f0303c6 commit 8b300c3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,17 @@ import array_api_compat
6060
xp = array_api_compat.array_namespace(x)
6161
```
6262

63-
### Types
63+
### Array Type
64+
65+
```python
66+
from array_api._2024_12 import Array
67+
68+
69+
def my_function[TArray: Array](x: TArray) -> TArray:
70+
return x + 1
71+
```
72+
73+
### Namespace Type
6474

6575
You can test if an object matches the Protocol by:
6676

0 commit comments

Comments
 (0)