Commits

Ali Gholami Rudi  committed a246c61

codeanalyze: removed Lines base class

  • Participants
  • Parent commits 45e9297

Comments (0)

Files changed (1)

File rope/base/codeanalyze.py

             return result
 
 
-class Lines(object):
-
-    def get_line(self, line_number):
-        pass
-
-    def length(self):
-        pass
-
-
-class SourceLinesAdapter(Lines):
+class SourceLinesAdapter(object):
     """Adapts source to Lines interface
 
     Note: The creation of this class is expensive.
         return self.starts[lineno] - 1
 
 
-class ArrayLinesAdapter(Lines):
+class ArrayLinesAdapter(object):
 
     def __init__(self, lines):
         self.lines = lines