diff options
author | Victor Stinner <vstinner@python.org> | 2024-02-21 08:11:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 08:11:40 (GMT) |
commit | 77430b6a329bb04ca884d08afefda25112372afa (patch) | |
tree | 509b76cbe2ed47bdeed1520c7de15c11217bc3a3 /Python | |
parent | 1235e84276ab8eabca1348034453c614f0b6b543 (diff) | |
download | cpython-77430b6a329bb04ca884d08afefda25112372afa.zip cpython-77430b6a329bb04ca884d08afefda25112372afa.tar.gz cpython-77430b6a329bb04ca884d08afefda25112372afa.tar.bz2 |
gh-110850: Replace private _PyTime_MAX with public PyTime_MAX (#115751)
Remove references to the old names _PyTime_MIN
and _PyTime_MAX, now that PyTime_MIN and
PyTime_MAX are public.
Replace also _PyTime_MIN with PyTime_MIN.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/thread_pthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 17f6ae7..dee21f0 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -486,9 +486,9 @@ PyThread_acquire_lock_timed(PyThread_type_lock lock, PY_TIMEOUT_T microseconds, if (microseconds >= 0) { // bpo-41710: PyThread_acquire_lock_timed() cannot report timeout // overflow to the caller, so clamp the timeout to - // [_PyTime_MIN, _PyTime_MAX]. + // [PyTime_MIN, PyTime_MAX]. // - // _PyTime_MAX nanoseconds is around 292.3 years. + // PyTime_MAX nanoseconds is around 292.3 years. // // _thread.Lock.acquire() and _thread.RLock.acquire() raise an // OverflowError if microseconds is greater than PY_TIMEOUT_MAX. |