From 16e4425a8a995a81a6e4d6be9b15d06408697784 Mon Sep 17 00:00:00 2001 From: Antoine Lambert <antoine.lambert@inria.fr> Date: Fri, 17 Jan 2020 18:25:40 +0100 Subject: [PATCH] model: Fix sphinx warning Related to T2188 --- swh/model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/model/model.py b/swh/model/model.py index f551706d..ec644fa3 100644 --- a/swh/model/model.py +++ b/swh/model/model.py @@ -119,7 +119,7 @@ class TimestampWithTimezone(BaseModel): @classmethod def from_dict(cls, d): """Builds a TimestampWithTimezone from any of the formats - accepted by :py:`swh.model.normalize_timestamp`.""" + accepted by :func:`swh.model.normalize_timestamp`.""" d = normalize_timestamp(d) return cls( timestamp=Timestamp.from_dict(d['timestamp']), -- GitLab