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

Add support for showing both the normal method def and the pretty syntax #7

Open
eric-wieser opened this issue Jun 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@eric-wieser
Copy link
Collaborator

eric-wieser commented Jun 3, 2020

As suggested by @jag1g13 on slack:

For me, some hybrid of __len__() and len(self) feels right. I (as an experienced Python developer) would be potentially confused by anything other than __len__ (is it an actual method called len ?), whereas I would expect novice developers to prefer len(self), since that's the bit they're familiar with

@eric-wieser eric-wieser added the enhancement New feature or request label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant