summaryrefslogtreecommitdiffstats
path: root/Modules/_queuemodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-02-20 23:31:30 (GMT)
committerGitHub <noreply@github.com>2024-02-20 23:31:30 (GMT)
commit145bc2d638370cb6d3da361c6dc05c5bc29f0d11 (patch)
treedd91999f742cdcc40254ac4ddd93a1834b3f89b3 /Modules/_queuemodule.c
parent52d14775665a6fde518ee3da88a73f39b09d993f (diff)
downloadcpython-145bc2d638370cb6d3da361c6dc05c5bc29f0d11.zip
cpython-145bc2d638370cb6d3da361c6dc05c5bc29f0d11.tar.gz
cpython-145bc2d638370cb6d3da361c6dc05c5bc29f0d11.tar.bz2
gh-110850: Use public PyTime functions (#115746)
Replace private _PyTime functions with public PyTime functions. random_seed_time_pid() now reports errors to its caller.
Diffstat (limited to 'Modules/_queuemodule.c')
-rw-r--r--Modules/_queuemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_queuemodule.c b/Modules/_queuemodule.c
index 5ef1cea..5db9b64 100644
--- a/Modules/_queuemodule.c
+++ b/Modules/_queuemodule.c
@@ -6,7 +6,7 @@
#include "pycore_ceval.h" // Py_MakePendingCalls()
#include "pycore_moduleobject.h" // _PyModule_GetState()
#include "pycore_parking_lot.h"
-#include "pycore_time.h" // PyTime_t
+#include "pycore_time.h" // _PyTime_FromSecondsObject()
#include <stdbool.h>
#include <stddef.h> // offsetof()