projects
/
pycalendar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36813e4
)
entry: Add a docstring to Feed.get_text
author
W. Trevor King
<wking@tremily.us>
Sun, 30 Jun 2013 20:44:24 +0000
(16:44 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sun, 30 Jun 2013 20:44:24 +0000
(16:44 -0400)
Pointing people towards the TEXT specification.
pycalendar/entry.py
patch
|
blob
|
history
diff --git
a/pycalendar/entry.py
b/pycalendar/entry.py
index 3c1af0e02588abd71d249195d0790dd0855599f0..88a6b359b48f9a8c4932eecd31e161c23834b11a 100644
(file)
--- 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)