Skip to content

Commit 3f05084

Browse files
committed
Fixed a formatting issue introduced in ctypes
1 parent fc092a1 commit 3f05084

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/scenarios/clibs.rst

Lines 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)