Skip to content

Commit e45327b

Browse files
committed
gh-52008: fix RST cross-reference and unclosed parenthesis in note
1 parent 65fc6a2 commit e45327b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/ctypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,8 +1532,8 @@ way is to instantiate :py:class:`CDLL` or one of its subclasses:
15321532
of the library than the one already linked into the process, the two
15331533
instances have *separate* :data:`errno` variables and ctypes will swap the
15341534
wrong one. To avoid this, load the library by its unqualified name (e.g.
1535-
``CDLL('libc.so.6')`` or use :func:`ctypes.util.find_library` to obtain
1536-
a name that the linker can resolve to the already-loaded instance.
1535+
``CDLL('libc.so.6')``) or use :func:`!find_library` to obtain a name that
1536+
the linker can resolve to the already-loaded instance.
15371537

15381538
The *use_last_error* parameter, when set to true, enables the same mechanism for
15391539
the Windows error code which is managed by the :func:`GetLastError` and

0 commit comments

Comments
 (0)