diff options
author | Alperen Keleş <alpkeles99@gmail.com> | 2024-10-31 21:44:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 21:44:34 (GMT) |
commit | d0abd0b826cfa574d1515c6f8459c9901939388f (patch) | |
tree | 1a31968247d2153f57c886f3289179202f90c374 /Doc | |
parent | dd3c0fa3fd2795326dae0e0ed63c668f5506cf32 (diff) | |
download | cpython-d0abd0b826cfa574d1515c6f8459c9901939388f.zip cpython-d0abd0b826cfa574d1515c6f8459c9901939388f.tar.gz cpython-d0abd0b826cfa574d1515c6f8459c9901939388f.tar.bz2 |
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`.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/time.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 8e29e57..9cd5db7 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -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 @@ -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 |