Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants