https://github.com/python/cpython/commit/d78768e3d69fec730760f6e59c91fd12f2a00d11
commit: d78768e3d69fec730760f6e59c91fd12f2a00d11
branch: main
author: Sergey B Kirpichev <[email protected]>
committer: encukou <[email protected]>
date: 2025-05-02T18:27:07+02:00
summary:
gh-121249: fix complex formatting codes in the struct docs (note 10) (GH-133249)
This amends 85f89cb.
files:
M Doc/library/struct.rst
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index 66a1fdea54d857..17fc479fd0c8c9 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,
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]