8000 gh-126256: Update time.rst to use the same clock as instead of the sa… · python/cpython@d0abd0b · GitHub
[go: up one dir, main page]

Skip to content

Commit d0abd0b

Browse files
authored
gh-126256: Update time.rst to use the same clock as instead of the same clock than (#126257)
Update time.rst to use `the same clock as` instead of `the same clock than` The time documentation uses the same clock than time.monotonic instead of the same clock as time.monotonic, which is grammatically false. This PR fixes changes two instances of `the same clock than` to `the same clock as`.
1 parent dd3c0fa commit d0abd0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/time.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Functions
327327

328328
.. impl-detail::
329329

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

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

341341
.. versionchanged:: 3.13
342-
Use the same clock than :func:`time.monotonic`.
342+
Use the same clock as :func:`time.monotonic`.
343343

344344

345345
.. function:: perf_counter_ns() -> int

0 commit comments

Comments
 (0)
0