From 421d1bb1a5e061e246534afe1c0386326fb012b2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 30 Jun 2013 16:44:24 -0400 Subject: [PATCH] entry: Add a docstring to Feed.get_text Pointing people towards the TEXT specification. --- pycalendar/entry.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.26.2