Remove get_first_indentation

This commit is contained in:
Dave Halter
2020-04-03 16:47:00 +02:00
parent 8550a52e48
commit ad88783ac9

View File

@@ -536,12 +536,6 @@ class _NodesTreeNode(object):
first = self._children_groups[-1].children[1]
return first.start_pos[1]
def get_first_indentation(self):
if self.tree_node.type == 'suite':
# The first node in a suite is always a newline.
return self._children_groups[0].children[1].start_pos[1]
return 0
class _NodesTree(object):
def __init__(self, module):