From: W. Trevor King Date: Sun, 30 Jun 2013 20:44:24 +0000 (-0400) Subject: entry: Add a docstring to Feed.get_text X-Git-Url: http://git.tremily.us/?p=pycalendar.git;a=commitdiff_plain;h=421d1bb1a5e061e246534afe1c0386326fb012b2 entry: Add a docstring to Feed.get_text Pointing people towards the TEXT specification. --- diff --git a/pycalendar/entry.py b/pycalendar/entry.py index 3c1af0e..88a6b35 100644 --- a/pycalendar/entry.py +++ b/pycalendar/entry.py @@ -200,6 +200,10 @@ class Entry (dict): self._lines.append(''.join(semantic_line_chunks)) def get_text(self, *args, **kwargs): + """Get and unescape a text value + + As described in :RFC:`5545`, section 3.3.11 (Text) + """ value = self.get(*args, **kwargs) return _text.unescape(value)