Fixed a formatting issue introduced in ctypes

This commit is contained in:
aaron
2015-11-01 13:33:47 -06:00
parent fc092a1a98
commit 3f0508403e
+5 -5
View File
@@ -28,10 +28,10 @@ ABI Interaction
ctypes ctypes
------ ------
`ctypes <https://docs.python.org/3/library/ctypes.html>`_ is the CPython `ctypes <https://docs.python.org/3/library/ctypes.html>`_ is the de facto
included library for interfacing with C/C++, and it provides not only full library for interfacing with C/C++ from CPython, and it provides not only
access to the native C interface of most major operating systems (e.g., full access to the native C interface of most major operating systems (e.g.,
kernel32 on Windows, or libc on *nix), but also provides support for loading kernel32 on Windows, or libc on \*nix), but also provides support for loading
and interfacing with dynamic libraries, such as DLLs or shared objects at and interfacing with dynamic libraries, such as DLLs or shared objects at
runtime. It does bring along with it a whole host of types for interacting runtime. It does bring along with it a whole host of types for interacting
with system APIs, and allows you to rather easily define your own complex with system APIs, and allows you to rather easily define your own complex
@@ -39,7 +39,7 @@ types, such as structs and unions, and allows you to modify things such as
padding and alignment, if needed. It can be a bit crufty to use, but in padding and alignment, if needed. It can be a bit crufty to use, but in
conjunction with the `struct <https://docs.python.org/3.5/library/struct.html>`_ conjunction with the `struct <https://docs.python.org/3.5/library/struct.html>`_
module, you are essentially provided full control over how your data types get module, you are essentially provided full control over how your data types get
translated into something something usable by a C(++). translated into something something usable by a pure C(++) method.
Struct Equivalents Struct Equivalents
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~