Commit 4f40093
authored
feat(types): add comparison methods to CData type hints (#19)
Adds type hints for comparison operators (`__eq__`, `__ne__`, `__lt__`, `__le__`, `__gt__`, `__ge__`) to the `CData` generic class.
This allows static type checkers to correctly validate comparison operations on `CData`-wrapped instances, preventing potential runtime errors and improving the overall developer experience.1 parent fc0e963 commit 4f40093
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
0 commit comments