summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_pythread.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-02-20 15:02:27 (GMT)
committerGitHub <noreply@github.com>2024-02-20 15:02:27 (GMT)
commit9af80ec83d1647a472331bd1333a7fa9108fe98e (patch)
tree855d09a92949b6cbe2b6a9c177bfd399a87a2fa6 /Include/internal/pycore_pythread.h
parent0749244d13412d7cb5b53d834f586f2198f5b9a6 (diff)
downloadcpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.zip
cpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.tar.gz
cpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.tar.bz2
gh-110850: Replace _PyTime_t with PyTime_t (#115719)
Run command: sed -i -e 's!\<_PyTime_t\>!PyTime_t!g' $(find -name "*.c" -o -name "*.h")
Diffstat (limited to 'Include/internal/pycore_pythread.h')
-rw-r--r--Include/internal/pycore_pythread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pythread.h b/Include/internal/pycore_pythread.h
index 265299d..d017d4f 100644
--- a/Include/internal/pycore_pythread.h
+++ b/Include/internal/pycore_pythread.h
@@ -96,7 +96,7 @@ extern void _PyThread_AfterFork(struct _pythread_runtime_state *state);
// unset: -1 seconds, in nanoseconds
-#define PyThread_UNSET_TIMEOUT ((_PyTime_t)(-1 * 1000 * 1000 * 1000))
+#define PyThread_UNSET_TIMEOUT ((PyTime_t)(-1 * 1000 * 1000 * 1000))
// Exported for the _xxinterpchannels module.
PyAPI_FUNC(int) PyThread_ParseTimeoutArg(