Skip to content

Commit

Permalink
fix link to time function from time_ns doc (pythonGH-15285)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
merwok authored and miss-islington committed Aug 17, 2019
1 parent 29bb227 commit 1b1d051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b1d051

Please sign in to comment.