Skip to content

Commit cb22eba

Browse files
authored
Sort returned __all__ (#34)
1 parent 08cba4b commit cb22eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lazy_loader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def attach(package_name, submodules=None, submod_attrs=None):
6666
attr: mod for mod, attrs in submod_attrs.items() for attr in attrs
6767
}
6868

69-
__all__ = list(submodules | attr_to_modules.keys())
69+
__all__ = list(sorted(submodules | attr_to_modules.keys()))
7070

7171
def __getattr__(name):
7272
if name in submodules:

0 commit comments

Comments
 (0)