def get_history_items():
 return [readline.get_history_item(i) for i in xrange(1, (readline.get_current_history_length() + 1))]

def get_history_items ( ) : return [ readline . get_history_item ( i ) for i in xrange ( 1 , ( readline . get_current_history_length ( ) + 1 ) ) ]
get all history item .