https://github.com/python/cpython/commit/8f3243dc33b75b5d86fdecccaab0fab47621c9b7
commit: 8f3243dc33b75b5d86fdecccaab0fab47621c9b7
branch: main
author: Peter Bierma <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2026-10-21T18:06:55+01:00
summary:
Docs: ctypes: Fix typo (GH-160056)
files:
M Doc/library/ctypes.rst
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 311ab65e802310..5628bfdcd02432 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -1563,7 +1563,7 @@ way is to instantiate :py:class:`CDLL` or one of its
subclasses:
On non-Windows systems, *name* can be ``None``. In this case,
:c:func:`!dlopen` is called with ``NULL``, which opens the main program
as a "library".
- (Some systems do the same is *name* is empty; ``None``/``NULL`` is more
+ (Some systems do the same if *name* is empty; ``None``/``NULL`` is more
portable.)
.. admonition:: CPython implementation detail
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]