summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.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/selectmodule.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/selectmodule.c')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 57d55a5..f16173a 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -15,7 +15,7 @@
#include "Python.h"
#include "pycore_fileutils.h" // _Py_set_inheritable()
#include "pycore_import.h" // _PyImport_GetModuleAttrString()
-#include "pycore_time.h" // PyTime_t
+#include "pycore_time.h" // _PyTime_FromSecondsObject()
#include <stdbool.h>
#include <stddef.h> // offsetof()