diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-06 18:32:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 18:32:38 (GMT) |
commit | 8e8f7522171ef82f2f5049940f815e00e38c6f42 (patch) | |
tree | cc4238b71699a4c9cb19578be4b4b21b4bd10626 /Include/cpython/pytime.h | |
parent | b24b47e64355224c1bf4e46ed7c4d9f7df4e6f09 (diff) | |
download | cpython-8e8f7522171ef82f2f5049940f815e00e38c6f42.zip cpython-8e8f7522171ef82f2f5049940f815e00e38c6f42.tar.gz cpython-8e8f7522171ef82f2f5049940f815e00e38c6f42.tar.bz2 |
Fix typos in the Include directory (GH-28745)
Diffstat (limited to 'Include/cpython/pytime.h')
-rw-r--r-- | Include/cpython/pytime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/cpython/pytime.h b/Include/cpython/pytime.h index f32148a..23d4f16 100644 --- a/Include/cpython/pytime.h +++ b/Include/cpython/pytime.h @@ -134,13 +134,13 @@ PyAPI_FUNC(_PyTime_t) _PyTime_FromNanoseconds(_PyTime_t ns); PyAPI_FUNC(int) _PyTime_FromNanosecondsObject(_PyTime_t *t, PyObject *obj); -/* Convert a number of seconds (Python float or int) to a timetamp. +/* Convert a number of seconds (Python float or int) to a timestamp. Raise an exception and return -1 on error, return 0 on success. */ PyAPI_FUNC(int) _PyTime_FromSecondsObject(_PyTime_t *t, PyObject *obj, _PyTime_round_t round); -/* Convert a number of milliseconds (Python float or int, 10^-3) to a timetamp. +/* Convert a number of milliseconds (Python float or int, 10^-3) to a timestamp. Raise an exception and return -1 on error, return 0 on success. */ PyAPI_FUNC(int) _PyTime_FromMillisecondsObject(_PyTime_t *t, PyObject *obj, |