279
283
class ParentText(object):
280
284
"""A reference to text present in a parent text"""
286
__slots__ = ['parent', 'parent_pos', 'child_pos', 'num_lines']
282
288
def __init__(self, parent, parent_pos, child_pos, num_lines):
284
290
self.parent_pos = parent_pos
285
291
self.child_pos = child_pos
286
292
self.num_lines = num_lines
289
return 'ParentText(%(parent)r, %(parent_pos)r, %(child_pos)r,'\
299
return ('ParentText(%(parent)r, %(parent_pos)r, %(child_pos)r,'
293
303
if self.__class__ is not other.__class__:
302
312
class BaseVersionedFile(object):