Skip to content

Commit e666327

Browse files
committed
🏷️ make Other_contra default to Never
Signed-off-by: nstarman <[email protected]>
1 parent 1886892 commit e666327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_typing/_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
_array_docstrings = tomllib.load(f)["docstrings"]
2626

2727
NS_co = TypeVar("NS_co", covariant=True, default=ModuleType)
28-
Other_contra = TypeVar("Other_contra", contravariant=True)
28+
Other_contra = TypeVar("Other_contra", contravariant=True, default=Never)
2929
R_co = TypeVar("R_co", covariant=True, default=Never)
3030

3131

0 commit comments

Comments
 (0)