diff options
author | Victor Stinner <vstinner@python.org> | 2024-02-20 15:02:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 15:02:27 (GMT) |
commit | 9af80ec83d1647a472331bd1333a7fa9108fe98e (patch) | |
tree | 855d09a92949b6cbe2b6a9c177bfd399a87a2fa6 /Modules/_datetimemodule.c | |
parent | 0749244d13412d7cb5b53d834f586f2198f5b9a6 (diff) | |
download | cpython-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 'Modules/_datetimemodule.c')
-rw-r--r-- | Modules/_datetimemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index 014ccdd..b8bd702 100644 --- a/Modules/_datetimemodule.c +++ b/Modules/_datetimemodule.c @@ -5131,7 +5131,7 @@ datetime_from_timestamp(PyObject *cls, TM_FUNC f, PyObject *timestamp, static PyObject * datetime_best_possible(PyObject *cls, TM_FUNC f, PyObject *tzinfo) { - _PyTime_t ts = _PyTime_GetSystemClock(); + PyTime_t ts = _PyTime_GetSystemClock(); time_t secs; int us; |