_c_extension.pyi Reference¶
Foo
¶
Source code in simple_python_template/_c_extension.pyi
__call__()
¶
add(x, y)
¶
Add two integers.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x |
int
|
The first integer. |
required |
y |
int
|
The second integer. |
required |
Returns¶
int: The sum of x and y.