diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-19 09:13:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 09:13:08 (GMT) |
commit | a45d9051ed8488b169cbcb12b036120c0e853b9c (patch) | |
tree | 7d442b10ef935a9985059da5691241f965592447 /Modules/arraymodule.c | |
parent | 225cbee8d8ced55c2edb16f9cdc73cd05bf0f67b (diff) | |
download | cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.zip cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.gz cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.bz2 |
[3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012)
(cherry picked from commit 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356)
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index a3b833d..679222c 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -2847,7 +2847,7 @@ array_new(PyTypeObject *type, PyObject *args, PyObject *kwds) PyDoc_STRVAR(module_doc, "This module defines an object type which can efficiently represent\n\ -an array of basic values: characters, integers, floating point\n\ +an array of basic values: characters, integers, floating-point\n\ numbers. Arrays are sequence types and behave very much like lists,\n\ except that the type of objects stored in them is constrained.\n"); @@ -2875,8 +2875,8 @@ The following type codes are defined:\n\ 'L' unsigned integer 4\n\ 'q' signed integer 8 (see note)\n\ 'Q' unsigned integer 8 (see note)\n\ - 'f' floating point 4\n\ - 'd' floating point 8\n\ + 'f' floating-point 4\n\ + 'd' floating-point 8\n\ \n\ NOTE: The 'u' typecode corresponds to Python's unicode character. On\n\ narrow builds this is 2-bytes on wide builds this is 4-bytes.\n\ |