<s> class CommentCache ( object ) : <EOL> def __init__ ( self ) : <EOL> self . _comments = [ ] <EOL> def add ( self , comment ) : <EOL> self . _comments . append ( comment ) <EOL> def consume_with ( self , function ) : <EOL> map ( function , self . _comments ) <EOL> self . __init__ ( ) <EOL> class Comments ( object ) : <EOL> def __init__ ( self ) : <EOL> self . _comments = [ ] <EOL> def add ( self , row ) : <EOL> if row . comments : <EOL> self . _comments . extend ( c . strip ( ) for c in row . comments if c . strip ( ) ) <EOL> @ property <EOL> def value ( self ) : <EOL> return self . _comments </s>
