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 3f05084

Browse filesBrowse files
committed
Fixed a formatting issue introduced in ctypes
1 parent fc092a1 commit 3f05084
Copy full SHA for 3f05084

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+5
-5
lines changed

‎docs/scenarios/clibs.rst

Copy file name to clipboardExpand all lines: docs/scenarios/clibs.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ ABI Interaction
2828
ctypes
2929
------
3030

31-
`ctypes <https://docs.python.org/3/library/ctypes.html>`_ is the CPython
32-
included library for interfacing with C/C++, and it provides not only full
33-
access to the native C interface of most major operating systems (e.g.,
34-
kernel32 on Windows, or libc on *nix), but also provides support for loading
31+
`ctypes <https://docs.python.org/3/library/ctypes.html>`_ is the de facto
32+
library for interfacing with C/C++ from CPython, and it provides not only
33+
full access to the native C interface of most major operating systems (e.g.,
34+
kernel32 on Windows, or libc on \*nix), but also provides support for loading
3535
and interfacing with dynamic libraries, such as DLLs or shared objects at
3636
runtime. It does bring along with it a whole host of types for interacting
3737
with system APIs, and allows you to rather easily define your own complex
3838
types, such as structs and unions, and allows you to modify things such as
3939
padding and alignment, if needed. It can be a bit crufty to use, but in
4040
conjunction with the `struct <https://docs.python.org/3.5/library/struct.html>`_
4141
module, you are essentially provided full control over how your data types get
42-
translated into something something usable by a C(++).
42+
translated into something something usable by a pure C(++) method.
4343

4444
Struct Equivalents
4545
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.