Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit0708437

Browse files
authored
gh-103025: fix two ctypes doc issues (#103026)
1 parent1fd603f commit0708437

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-
Callingvaradic functions
379-
^^^^^^^^^^^^^^^^^^^^^^^^^
378+
Callingvariadic 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)

[8]ページ先頭

©2009-2025 Movatter.jp