From 0486ed9a9c9243aad9e1cbc133e6011c11b29621 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 8 Jul 2017 19:06:46 +0200 Subject: [PATCH] Remove the comment class that was not needed. --- parso/python/normalizer.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/parso/python/normalizer.py b/parso/python/normalizer.py index 69cef46..2ca079e 100644 --- a/parso/python/normalizer.py +++ b/parso/python/normalizer.py @@ -29,17 +29,6 @@ class CompressNormalizer(Normalizer): return leaf.prefix + leaf.value -class Comment(object): - def __init__(self, comment_part, indentation_part): - self.comment_part = comment_part - self.indentation_part = indentation_part - if indentation_part is None: - self.indentation = '' - else: - self.indentation = indentation_part.value - self.start_pos = self.comment_part.start_pos - - class IndentationTypes(object): VERTICAL_BRACKET = object() HANGING_BRACKET = object()