We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e5a3fc commit 246171dCopy full SHA for 246171d
bindings/python/proxsuite/__init__.py
@@ -50,8 +50,5 @@ def __getattr__(name: str):
50
def __dir__():
51
# returns iterable of all accessible attributes in the module.
52
# implement this for instropection, for e.g. autocomplete in interpreters (IPython).
53
- # Respect the submodule's __all__ (list of public attributes), if available
54
- if hasattr(_submodule, "__all__"):
55
- return _submodule.__all__
56
- # otherwise, return all attributes
+ # We return the attributes from the submodule.
57
return dir(_submodule)
0 commit comments