Skip to content

Commit

Permalink
minor docstring changes
Browse files Browse the repository at this point in the history
- LimitLevelTree.insert has no value parameter
- LimitLevel has no value attribute
- LimitLevel.__init__ has no is_root parameter
  • Loading branch information
wardbradt authored Aug 23, 2018
1 parent e926826 commit 605843d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lob.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,6 @@ class LimitLevel:
method may be of interest (c-based implementations aside).
Attributes:
value: value of the Node
parent: Parent node of this Node
is_root: Boolean, to determine if this Node is root
left_child: Left child of this Node; Values smaller than price
Expand All @@ -303,7 +301,6 @@ def __init__(self, order):
"""Initialize a Node() instance.
:param order:
:param is_root:
"""
# Data Values
self.price = order.price
Expand Down Expand Up @@ -566,7 +563,7 @@ def insert(self, limit_level):
Inserts a new node and calls the grand-parent's balance() method -
but only if it isn't root.
:param value:
:param limit_level:
:return:
"""
current_node = self
Expand Down

0 comments on commit 605843d

Please sign in to comment.