Skip to content
New issue

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

bind_map and bind_vector: add sig to __eq__ and __ne__ #723

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

wojdyr
Copy link
Contributor

@wojdyr wojdyr commented Sep 18, 2024

Use the sig attribute to avoid mypy [override] error.

Following the advice from https://nanobind.readthedocs.io/en/latest/typing.html#functions

Use the sig attribute to avoid mypy [override] error.
@wjakob
Copy link
Owner

wjakob commented Sep 18, 2024

Thanks!

@wjakob wjakob merged commit 90844bd into wjakob:master Sep 18, 2024
30 checks passed
@wojdyr wojdyr deleted the bind-sig branch September 18, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants