Skip to content

Commit

Permalink
level up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Sup2point0 committed May 14, 2024
1 parent 4d7e40a commit 959a68f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion wl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@

# importing weighted-list takes a little fiddling, since it has a hyphen in the name...
import importlib
WeightedList = importlib.import_module(".weighted-list.python", "suptools").WeightedList
wl = importlib.import_module(".weighted-list.python", "suptools")

__all__ = ["WeightedItem", "WeightedList"]

WeightedItem = wl.WeightedItem
WeightedList = wl.WeightedList

0 comments on commit 959a68f

Please sign in to comment.