Skip to content

Commit e7dba47

Browse files
peterjpxiewarsaw
authored andcommitted
pythongh-103025: fix two ctypes doc issues (python#103026)
1 parent ebd3db8 commit e7dba47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/ctypes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ that they can be converted to the required C data type::
375375

376376
.. _ctypes-calling-variadic-functions:
377377

378-
Calling varadic functions
379-
^^^^^^^^^^^^^^^^^^^^^^^^^
378+
Calling variadic functions
379+
^^^^^^^^^^^^^^^^^^^^^^^^^^
380380

381381
On a lot of platforms calling variadic functions through ctypes is exactly the same
382382
as calling functions with a fixed number of parameters. On some platforms, and in
@@ -508,7 +508,7 @@ a string pointer and a char, and returns a pointer to a string::
508508

509509
If you want to avoid the ``ord("x")`` calls above, you can set the
510510
:attr:`argtypes` attribute, and the second argument will be converted from a
511-
single character Python bytes object into a C char::
511+
single character Python bytes object into a C char:
512512

513513
.. doctest::
514514

0 commit comments

Comments
 (0)