Skip to content

Commit 4f5e1a0

Browse files
docs: correct the function prototype defined in the stub file in simplest_c example (#937)
In the simplest_c example, the stub file defines the function `square` to take two arguments. However, it only takes one in the C-extension implementation. This PR corrects the stub file to make it consistent with the C-extension implementation.
1 parent 3c9caaf commit 4f5e1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
def square(__x: float, __y: float) -> float: ...
1+
def square(__x: float) -> float: ...

0 commit comments

Comments
 (0)