Replies: 1 comment
-
No - after all, Python doesn't have overloading either. PyO3 would have to define an ad-hoc way of matching parameters against signatures, and that is a minefield that I don't think we want to enter. The safe way is to do the matching yourself, in the exact way that you think it should work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to create multiple functions (or methods) with same name, but different signatures?
Beta Was this translation helpful? Give feedback.
All reactions