diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-19 08:06:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 08:06:02 (GMT) |
commit | 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356 (patch) | |
tree | df3bcce3fcd01a8230304dad9431cfab8ef406cb /Doc/library/array.rst | |
parent | 420d94312824825a18fa1fd9a36773626a54d97a (diff) | |
download | cpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.zip cpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.tar.gz cpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.tar.bz2 |
gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)
Diffstat (limited to 'Doc/library/array.rst')
-rw-r--r-- | Doc/library/array.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst index d34a188..e0b1eb8 100644 --- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -9,7 +9,7 @@ -------------- This module defines an object type which can compactly represent an array of -basic values: characters, integers, floating point numbers. Arrays are sequence +basic values: characters, integers, floating-point numbers. Arrays are sequence types and behave very much like lists, except that the type of objects stored in them is constrained. The type is specified at object creation time by using a :dfn:`type code`, which is a single character. The following type codes are @@ -263,7 +263,7 @@ The string representation is guaranteed to be able to be converted back to an array with the same type and value using :func:`eval`, so long as the :class:`~array.array` class has been imported using ``from array import array``. Variables ``inf`` and ``nan`` must also be defined if it contains -corresponding floating point values. +corresponding floating-point values. Examples:: array('l') |