aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2025-05-02 19:27:07 +0300
committerGitHub <noreply@github.com>2025-05-02 18:27:07 +0200
commitd78768e3d69fec730760f6e59c91fd12f2a00d11 (patch)
treeab1fb5b598c778f811f1bffaf97b14a93c3bce5a
parent2da48e32f64d09eb2408301f8ef5f3a02a5cbe1a (diff)
downloadcpython-d78768e3d69fec730760f6e59c91fd12f2a00d11.tar.gz
cpython-d78768e3d69fec730760f6e59c91fd12f2a00d11.zip
gh-121249: fix complex formatting codes in the struct docs (note 10) (GH-133249)
This amends 85f89cb.
-rw-r--r--Doc/library/struct.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index 66a1fdea54d..17fc479fd0c 100644
--- a/Doc/library/struct.rst
+++ b/Doc/library/struct.rst
@@ -357,7 +357,7 @@ Notes:
``'0c'`` means 0 characters).
(10)
- For the ``'E'`` and ``'C'`` format characters, the packed representation uses
+ For the ``'F'`` and ``'D'`` format characters, the packed representation uses
the IEEE 754 binary32 and binary64 format for components of the complex
number, regardless of the floating-point format used by the platform.
Note that complex types (``F`` and ``D``) are available unconditionally,