]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-121249: fix complex formatting codes in the struct docs (note 10) (GH-133249)
authorSergey B Kirpichev <skirpichev@gmail.com>
Fri, 2 May 2025 16:27:07 +0000 (19:27 +0300)
committerGitHub <noreply@github.com>
Fri, 2 May 2025 16:27:07 +0000 (18:27 +0200)
This amends 85f89cb.

Doc/library/struct.rst

index 66a1fdea54d85780d75aea61cd8e59b519cf91f3..17fc479fd0c8c93748cde4b1f0d9199131aaae2c 100644 (file)
@@ -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,