diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 94d33ab9b6a4c34..5b041b87625b87d 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1803,8 +1803,9 @@ object is available: :c:expr:`int`, which is of course not always the truth, so you have to assign the correct :attr:`!restype` attribute to use these functions. - Note that if the Python interpreter is statically linked, this will be - ``None``, as ``dlopen`` is not possible in this case. + .. note:: + + If the Python interpreter is statically linked, this may be ``None``. .. audit-event:: ctypes.dlopen name ctypes.LibraryLoader