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

support for dir #5

Open
kecnry opened this issue Jun 17, 2017 · 1 comment
Open

support for dir #5

kecnry opened this issue Jun 17, 2017 · 1 comment

Comments

@kecnry
Copy link
Owner

kecnry commented Jun 17, 2017

dir(nparrayobject) should return the available methods of both the object and the underlying array. I attempted this, but its difficult to reproduce the native __dir__ inside the custom __dir__

@kecnry
Copy link
Owner Author

kecnry commented Feb 5, 2019

See comments and solutions in this stackoverflow post: https://stackoverflow.com/questions/15507848/what-is-the-correct-way-to-override-the-dir-method

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

No branches or pull requests

1 participant