@@ -200,7 +200,7 @@ calls).
200
200
Python objects that can directly be used as parameters in these function calls.
201
201
``None `` is passed as a C ``NULL `` pointer, bytes objects and strings are passed
202
202
as pointer to the memory block that contains their data (:c:expr: `char * ` or
203
- :c:expr: `wchar_t * `). Python integers are passed as the platforms default C
203
+ :c:expr: `wchar_t * `). Python integers are passed as the platform's default C
204
204
:c:expr: `int ` type, their value is masked to fit into the C type.
205
205
206
206
Before we move on calling functions with other parameter types, we have to learn
@@ -1445,7 +1445,7 @@ function exported by these libraries, and reacquired afterwards.
1445
1445
All these classes can be instantiated by calling them with at least one
1446
1446
argument, the pathname of the shared library. If you have an existing handle to
1447
1447
an already loaded shared library, it can be passed as the ``handle `` named
1448
- parameter, otherwise the underlying platforms :c:func: `!dlopen ` or
1448
+ parameter, otherwise the underlying platform's :c:func: `!dlopen ` or
1449
1449
:c:func: `!LoadLibrary ` function is used to load the library into
1450
1450
the process, and to get a handle to it.
1451
1451
@@ -1456,7 +1456,7 @@ configurable.
1456
1456
1457
1457
The *use_errno * parameter, when set to true, enables a ctypes mechanism that
1458
1458
allows accessing the system :data: `errno ` error number in a safe way.
1459
- :mod: `ctypes ` maintains a thread-local copy of the systems :data: `errno `
1459
+ :mod: `ctypes ` maintains a thread-local copy of the system's :data: `errno `
1460
1460
variable; if you call foreign functions created with ``use_errno=True `` then the
1461
1461
:data: `errno ` value before the function call is swapped with the ctypes private
1462
1462
copy, the same happens immediately after the function call.
0 commit comments