Skip to content

Commit 65091c8

Browse files
committed
Add type stub
1 parent eaa5226 commit 65091c8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
"""
2+
Pybind11 example plugin
3+
-----------------------
4+
5+
.. currentmodule:: scikit_build_example
6+
7+
.. autosummary::
8+
:toctree: _generate
9+
10+
add
11+
subtract
12+
"""
13+
14+
def add(i: int, j: int) -> int:
15+
"""
16+
Add two numbers
17+
18+
Some other explanation about the add function.
19+
"""
20+
...

0 commit comments

Comments
 (0)