summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2019-08-17 20:34:08 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-17 20:34:08 (GMT)
commit1b1d0514adbcdd859817c63d1410455c64660d78 (patch)
tree9151a59250d0ba43d76452f635fd7ee31f423a11 /Doc/library
parent29bb227a0ce6d355a2b3e5d6a25872e3702ba9bb (diff)
downloadcpython-1b1d0514adbcdd859817c63d1410455c64660d78.zip
cpython-1b1d0514adbcdd859817c63d1410455c64660d78.tar.gz
cpython-1b1d0514adbcdd859817c63d1410455c64660d78.tar.bz2
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.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/time.rst2
1 files changed, 1 insertions, 1 deletions
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