def append(self, x):
super(EntriesList, self).append(x)<EOL>if self.entries_collection is not None:<EOL><INDENT>self.entries_collection.add_entry(self.date, x)<EOL><DEDENT>
Append the given element to the list and synchronize the textual
representation.