summaryrefslogtreecommitdiff
path: root/blist/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'blist/__init__.py')
-rw-r--r--blist/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/blist/__init__.py b/blist/__init__.py
new file mode 100644
index 0000000..931aaac
--- /dev/null
+++ b/blist/__init__.py
@@ -0,0 +1,10 @@
+__version__ = '1.3.6'
+from blist._blist import *
+import collections
+if hasattr(collections, 'MutableSet'): # Only supported in Python 2.6+
+ from blist._sortedlist import sortedlist, sortedset, weaksortedlist, weaksortedset
+ from blist._sorteddict import sorteddict
+ from blist._btuple import btuple
+ collections.MutableSequence.register(blist)
+ del _sortedlist, _sorteddict, _btuple
+del collections