[3.8] fix link to time function from time_ns doc (GH-15285) (GH-15321)

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 1b1d0514ad)


Co-authored-by: Éric Araujo <merwok@netwok.org>

Automerge-Triggered-By: @merwok
This commit is contained in:
Miss Islington (bot) 2019-08-17 13:51:57 -07:00 committed by GitHub
parent f991912146
commit 7309cca147
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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