Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit af2fdce

Browse filesBrowse 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
Copy full SHA for af2fdce

File tree

Expand file treeCollapse file tree

2 files changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-4
lines changed

‎Doc/library/ctypes.rst

Copy file name to clipboardExpand all lines: Doc/library/ctypes.rst
+2-2Lines 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
+3-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.