We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, we can do
#[args(a, "*", c = 3)] fn get&self, a: i32, b: i32, c: i32) -> PyResult<i32> { ... }
, where the position of separator is ambiguous. And it's also problematic that here we can use unrelated idents like
#[args(a, "*", d = 3)] fn get&self, a: i32, b: i32, c: i32) -> PyResult<i32> { ... }
The text was updated successfully, but these errors were encountered:
Fixed by the new #[pyo3(signature = (...)] option which replaces #[args] and doesn't allow for ambiguity.
#[pyo3(signature = (...)]
#[args]
Sorry, something went wrong.
No branches or pull requests
For example, we can do
, where the position of separator is ambiguous.
And it's also problematic that here we can use unrelated idents like
The text was updated successfully, but these errors were encountered: