From 48b05f9f0207fd4e440220a61b3fbd32d03ad3ff Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Thu, 5 Apr 2012 12:05:50 +0200 Subject: [PATCH] Docstring for Journal.sort --- jrnl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jrnl.py b/jrnl.py index 832896c8..05a909fd 100755 --- a/jrnl.py +++ b/jrnl.py @@ -109,6 +109,7 @@ class Journal: journal_file.close() def sort(self): + """Sorts the Journal's entries by date""" self.entries = sorted(self.entries, key=lambda entry: entry.date) def limit(self, n=None):