diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-01 22:27:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 22:27:18 (GMT) |
commit | 46d77610fc77088bceac720a13d9f2df3a50f29e (patch) | |
tree | 73f82577bf72de0a3f9a663fe226707879e91349 /Modules/selectmodule.c | |
parent | 822db860eada721742f878653d7ac9364ed8df59 (diff) | |
download | cpython-46d77610fc77088bceac720a13d9f2df3a50f29e.zip cpython-46d77610fc77088bceac720a13d9f2df3a50f29e.tar.gz cpython-46d77610fc77088bceac720a13d9f2df3a50f29e.tar.bz2 |
gh-106316: Remove pytime.h header file (#106317)
Remove the "cpython/pytime.h" header file: it only contained private
functions. Move functions to the internal pycore_time.h header file.
Move tests from _testcapi to _testinternalcapi. Rename also test
methods to have the same name than tested C functions.
No longer export these functions:
* _PyTime_Add()
* _PyTime_As100Nanoseconds()
* _PyTime_FromMicrosecondsClamp()
* _PyTime_FromTimespec()
* _PyTime_FromTimeval()
* _PyTime_GetPerfCounterWithInfo()
* _PyTime_MulDiv()
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r-- | Modules/selectmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 9a4943c..7ab0804 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -14,6 +14,7 @@ #include "Python.h" #include "pycore_fileutils.h" // _Py_set_inheritable() +#include "pycore_time.h" // _PyTime_t #include "structmember.h" // PyMemberDef #ifdef HAVE_SYS_DEVPOLL_H |