[3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012)

(cherry picked from commit 1a0c7b9ba4)
This commit is contained in:
Serhiy Storchaka 2024-07-19 12:13:08 +03:00 committed by GitHub
parent 225cbee8d8
commit a45d9051ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
100 changed files with 238 additions and 238 deletions

View file

@ -638,7 +638,7 @@ signal_strsignal_impl(PyObject *module, int signalnum)
res = "Aborted";
break;
case SIGFPE:
res = "Floating point exception";
res = "Floating-point exception";
break;
case SIGSEGV:
res = "Segmentation fault";
@ -1199,13 +1199,13 @@ signal.sigtimedwait
Like sigwaitinfo(), but with a timeout.
The timeout is specified in seconds, with floating point numbers allowed.
The timeout is specified in seconds, with floating-point numbers allowed.
[clinic start generated code]*/
static PyObject *
signal_sigtimedwait_impl(PyObject *module, sigset_t sigset,
PyObject *timeout_obj)
/*[clinic end generated code: output=59c8971e8ae18a64 input=87fd39237cf0b7ba]*/
/*[clinic end generated code: output=59c8971e8ae18a64 input=955773219c1596cd]*/
{
PyTime_t timeout;
if (_PyTime_FromSecondsObject(&timeout,