Skip to content

Commit de26ad2

Browse files
committed
FIX: fixed regression in larray 0.33 (larray.random not available)
due to 0452566
1 parent 768826f commit de26ad2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

larray/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343

4444
from larray.example import get_example_filepath, load_example_data, EXAMPLE_EXCEL_TEMPLATES_DIR
4545

46+
# this makes larray.random functions accessible as la.random.* without explicitly importing larray.random
47+
import larray.random as _rnd
4648

4749
__all__ = [
4850
# axis
@@ -113,3 +115,4 @@
113115

114116
# cleanup namespace (module was imported only to initialize handlers for .pkl and .pickle)
115117
del _pkl
118+
del _rnd

0 commit comments

Comments
 (0)