Added a comment.

svn: r16528
This commit is contained in:
Peter Landgren 2011-02-01 12:11:51 +00:00
parent d6d391ea67
commit 35d8b00993

View File

@ -331,7 +331,8 @@ class EventType(GrampsType):
""" """
Returns the abbreviation for this event. Uses the explicitly Returns the abbreviation for this event. Uses the explicitly
given abbreviations, or first letter of each word, or the first given abbreviations, or first letter of each word, or the first
three letters. Appends a period after the abbreviation. three letters. Appends a period after the abbreviation,
but not if string is in _ABBREVIATIONS.
""" """
if self.value in self._ABBREVIATIONS: if self.value in self._ABBREVIATIONS:
return self._ABBREVIATIONS[self.value] return self._ABBREVIATIONS[self.value]