(self, func, types, args, kwargs)
| 544 | self.function = function |
| 545 | |
| 546 | def __array_function__(self, func, types, args, kwargs): |
| 547 | assert func is getattr(np, func.__name__) |
| 548 | try: |
| 549 | my_func = getattr(self, func.__name__) |
| 550 | except AttributeError: |
| 551 | return NotImplemented |
| 552 | return my_func(*args, **kwargs) |
| 553 | |
| 554 | self.MyArray = MyArray |
| 555 |
nothing calls this directly
no outgoing calls
no test coverage detected