There was an error while loading. Please reload this page.
2 parents ab69980 + ac9b3b0 commit 295ee69Copy full SHA for 295ee69
1 file changed
array_api_tests/stubs.py
@@ -36,8 +36,7 @@
36
if n != "__init__" # probably exists for Sphinx
37
]
38
array_attributes = [
39
- n for n, f in inspect.getmembers(array, predicate=lambda x: not inspect.isfunction(x))
40
- if n != "__init__" # probably exists for Sphinx
+ n for n, f in inspect.getmembers(array, predicate=lambda x: isinstance(x, property))
41
42
43
category_to_funcs: Dict[str, List[FunctionType]] = {}
0 commit comments