From 7309cca1471d556c139896dd8057d1feba378113 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 17 Aug 2019 13:51:57 -0700 Subject: [3.8] fix link to time function from time_ns doc (GH-15285) (GH-15321) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. (cherry picked from commit 1b1d0514adbcdd859817c63d1410455c64660d78) Co-authored-by: Éric Araujo Automerge-Triggered-By: @merwok --- Doc/library/time.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 6d0ceaf..4faa0bb 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 -- cgit v0.12