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

Feature: Len function #66

Open
shoriwe opened this issue Nov 14, 2022 · 0 comments
Open

Feature: Len function #66

shoriwe opened this issue Nov 14, 2022 · 0 comments
Assignees
Labels

Comments

@shoriwe
Copy link
Owner

shoriwe commented Nov 14, 2022

Is your feature request related to a problem? Please describe.
Stop the usage of the magic method __len__ by creating a wrapper that also could call low level function to return the length of the underlying object.

Describe the solution you'd like
The API of this new len function will be:

len(obj) # returns an integer with the length of the underlying object
@shoriwe shoriwe self-assigned this Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant