[Python-checkins] fix link to time function from time_ns doc (GH-15285)
Miss Islington (bot)
webhook-mailer at python.org
Sat Aug 17 16:51:15 EDT 2019
https://github.com/python/cpython/commit/316acf27045174bf090fa5f0000eae6801e0d322
commit: 316acf27045174bf090fa5f0000eae6801e0d322
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-08-17T13:51:11-07:00
summary:
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.
(cherry picked from commit 1b1d0514adbcdd859817c63d1410455c64660d78)
Co-authored-by: Éric Araujo <merwok at netwok.org>
files:
M Doc/library/time.rst
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 4230c19faf10..17f8cfc54614 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -630,7 +630,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
More information about the Python-checkins
mailing list