This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BTreeNode(object): | |
"""A B-Tree Node. | |
attributes | |
===================== | |
leaf : boolean, determines whether this node is a leaf. | |
keys : list, a list of keys internal to this node | |
c : list, a list of children of this node | |
""" | |
def __init__(self, leaf=False): |