Skip to content

Commit

Permalink
Merge pull request #1 from alpaylan/the-same-clock-as
Browse files Browse the repository at this point in the history
pythongh-126256: Update time.rst to use `the same clock as` instead of `the same clock than`
  • Loading branch information
alpaylan authored Oct 31, 2024
2 parents dd3c0fa + c071ec5 commit c1b9766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ Functions

.. impl-detail::

On CPython, use the same clock than :func:`time.monotonic` and is a
On CPython, use the same clock as :func:`time.monotonic` and is a
monotonic clock, i.e. a clock that cannot go backwards.

Use :func:`perf_counter_ns` to avoid the precision loss caused by the
Expand All @@ -339,7 +339,7 @@ Functions
On Windows, the function is now system-wide.

.. versionchanged:: 3.13
Use the same clock than :func:`time.monotonic`.
Use the same clock as :func:`time.monotonic`.


.. function:: perf_counter_ns() -> int
Expand Down

0 comments on commit c1b9766

Please sign in to comment.