From 130b1eb32a50debcfd302184095c760447bfb1ff Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 23 Sep 2014 20:55:16 +0200 Subject: [PATCH] docs: Define timestamp type --- mopidy/core/history.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mopidy/core/history.py b/mopidy/core/history.py index 6711bcf4..379e3b34 100644 --- a/mopidy/core/history.py +++ b/mopidy/core/history.py @@ -48,7 +48,9 @@ class HistoryController(object): def get_history(self): """Get the track history. + The timestamps are milliseconds since epoch. + :returns: the track history - :rtype: list of (timestamp, mopidy.models.Ref) tuples + :rtype: list of (timestamp, :class:`mopidy.models.Ref`) tuples """ return copy.copy(self._history)