4 """An iCalendar entry (e.g. VEVENT)
6 def __init__(self, type, content=None):
12 return self.content.replace('\r\n', '\n').strip()
16 return '<{} type:{}>'.format(type(self).__name__, self.type)
18 def write(self, stream):
19 stream.write(self.content)