Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BTrees
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
BTrees
Commits
8f636ac0
Commit
8f636ac0
authored
Nov 08, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify.
parent
fdbe18c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
BTrees/OOBTree.py
BTrees/OOBTree.py
+8
-12
No files found.
BTrees/OOBTree.py
View file @
8f636ac0
...
@@ -37,9 +37,8 @@ class OOBucketPy(Bucket):
...
@@ -37,9 +37,8 @@ class OOBucketPy(Bucket):
try
:
try
:
from
_OOBTree
import
OOBucket
from
_OOBTree
import
OOBucket
except
ImportError
:
except
ImportError
:
OOBucket
=
Bucket
=
OOBucketPy
OOBucket
=
OOBucketPy
else
:
Bucket
=
OOBucket
Bucket
=
OOBucket
class
OOSetPy
(
Set
):
class
OOSetPy
(
Set
):
...
@@ -48,9 +47,8 @@ class OOSetPy(Set):
...
@@ -48,9 +47,8 @@ class OOSetPy(Set):
try
:
try
:
from
_OOBTree
import
OOSet
from
_OOBTree
import
OOSet
except
ImportError
:
except
ImportError
:
OOSet
=
Set
=
OOSetPy
OOSet
=
OOSetPy
else
:
Set
=
OOSet
Set
=
OOSet
class
OOBTreePy
(
BTree
):
class
OOBTreePy
(
BTree
):
...
@@ -60,9 +58,8 @@ class OOBTreePy(BTree):
...
@@ -60,9 +58,8 @@ class OOBTreePy(BTree):
try
:
try
:
from
_OOBTree
import
OOBTree
from
_OOBTree
import
OOBTree
except
ImportError
:
except
ImportError
:
OOBTree
=
BTree
=
OOBTreePy
OOBTree
=
OOBTreePy
else
:
BTree
=
OOBTree
BTree
=
OOBTree
class
OOTreeSetPy
(
TreeSet
):
class
OOTreeSetPy
(
TreeSet
):
...
@@ -71,9 +68,8 @@ class OOTreeSetPy(TreeSet):
...
@@ -71,9 +68,8 @@ class OOTreeSetPy(TreeSet):
try
:
try
:
from
_OOBTree
import
OOTreeSet
from
_OOBTree
import
OOTreeSet
except
ImportError
:
except
ImportError
:
OOTreeSet
=
TreeSet
=
OOTreeSetPy
OOTreeSet
=
OOTreeSetPy
else
:
TreeSet
=
OOTreeSet
TreeSet
=
OOTreeSet
# Can't declare forward refs, so fix up afterwards:
# Can't declare forward refs, so fix up afterwards:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment