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

Use of special Python methods #733

Open
miyunari opened this issue Aug 30, 2023 · 1 comment
Open

Use of special Python methods #733

miyunari opened this issue Aug 30, 2023 · 1 comment

Comments

@miyunari
Copy link
Member

At the moment we use internal python methods like __contains__ for example. Those method names can be used to redefine these methods, but not to call them. We should use the keywords of these methods instead - for example it is in for __contains__.

@major
Copy link
Member

major commented Aug 30, 2023

Good idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants