mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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.
This commit is contained in:
parent
52d1477566
commit
145bc2d638
12 changed files with 39 additions and 55 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue