Open kecnry opened 7 years ago
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__
See comments and solutions in this stackoverflow post: https://stackoverflow.com/questions/15507848/what-is-the-correct-way-to-override-the-dir-method
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__