From: Éric Araujo Date: Sat, 17 Aug 2019 20:34:08 +0000 (-0400) Subject: fix link to time function from time_ns doc (GH-15285) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b1d0514adbcdd859817c63d1410455c64660d78;p=python fix link to time function from time_ns doc (GH-15285) Because mod, func, class, etc all share one namespace, :func:time creates a link to the time module doc page rather than the time.time function. --- diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 6d0ceafa52..4faa0bbebc 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -608,7 +608,7 @@ Functions .. function:: time_ns() -> int - Similar to :func:`time` but returns time as an integer number of nanoseconds + Similar to :func:`~time.time` but returns time as an integer number of nanoseconds since the epoch_. .. versionadded:: 3.7