Skip to content

Commit 78a5a5c

Browse files
committed
fix
1 parent bdf2e07 commit 78a5a5c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

docs/source/camb.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ Basic functions
99
Type aliases
1010
------------
1111

12-
.. py:data:: camb.Array1D
13-
:type: TypeAlias
12+
.. py:class:: camb.Array1D
1413
1514
Type alias for 1D array-like inputs: ``Sequence[np.number | float | int] | NDArray[np.number]``.
1615
Functions accepting Array1D can take lists, tuples, or numpy arrays of numbers.

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464

6565
# Suppress nitpick warnings for type aliases (they are data, not classes)
6666
nitpick_ignore = [
67-
("py:class", "Array1D"),
6867
("py:class", "NumberOrArray1D"),
6968
]
7069

0 commit comments

Comments
 (0)