8000 Apply suggestions from code review · python/cpython@af2fdce · GitHub
[go: up one dir, main page]

Skip to content

Commit af2fdce

Browse files
skirpichevpicnixz
andauthored
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent bf81682 commit af2fdce

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Doc/library/ctypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Fundamental data types
266266
(1)
267267
The constructor accepts any object with a truth value.
268268

269-
Additionally, if IEC 60559 compatible complex arithmetic (Annex G) is supported, following
269+
Additionally, if IEC 60559 compatible complex arithmetic (Annex G) is supported, the following
270270
complex types are available:
271271

272272
+----------------------------------+---------------------------------+-----------------+
@@ -2296,7 +2296,7 @@ These are the fundamental ctypes data types:
22962296

22972297
.. class:: c_double_complex
22982298

2299-
Represents the C :c:expr:`double complex` datatype, if it's available. The
2299+
Represents the C :c:expr:`double complex` datatype, if available. The
23002300
constructor accepts an optional :class:`complex` initializer.
23012301

23022302
.. versionadded:: 3.14
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
Support :c:expr:`double complex` C type in :mod:`ctypes` if compiler has C11
2-
complex arithmetic. Patch by Sergey B Kirpichev.
1+
Support :c:expr:`double complex` C type in :mod:`ctypes` via
2+
:class:`~ctypes.c_double_complex` if compiler has C11 complex
3+
arithmetic. Patch by Sergey B Kirpichev.

0 commit comments

Comments
 (0)
0