We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7ea03 commit 5525961Copy full SHA for 5525961
1 file changed
docs/docs/python/features.md
@@ -452,7 +452,7 @@ let add a b = Py.python $"""return {a+b}"""
452
generates:
453
454
```py
455
-def add(a, b):
+def add(a: int32, b: int32) -> Any:
456
return a + b
457
```
458
@@ -481,7 +481,7 @@ generates:
481
@dataclasses.dataclass
482
class User:
483
name: str
484
- age: int
+ age: int32
485
486
487
You can also pass parameters to decorators:
0 commit comments