<s> """<STR_LIT>""" <EOL> class ElementRange ( object ) : <EOL> def __init__ ( self , start , end ) : <EOL> self . start = start <EOL> self . end = end <EOL> def __len__ ( self ) : <EOL> return self . end - self . start + <NUM_LIT:1> <EOL> def __contains__ ( self , item ) : <EOL> return item >= self . start and item <= self . end <EOL> def __iter__ ( self ) : <EOL> def xrange_generator ( start , end ) : <EOL> for i in xrange ( self . start , self . end + <NUM_LIT:1> ) : <EOL> yield i <EOL> return xrange_generator ( self . start , self . end ) </s>
