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 <merwok@netwok.org>
Automerge-Triggered-By: @merwok
.. 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