mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-71052: Implement ctypes.util.find_library on Android (GH-116379)
This commit is contained in:
parent
d16c9d1278
commit
1f8b24ef69
4 changed files with 36 additions and 2 deletions
|
|
@ -1334,8 +1334,9 @@ Here are some examples::
|
|||
'libbz2.so.1.0'
|
||||
>>>
|
||||
|
||||
On macOS, :func:`~ctypes.util.find_library` tries several predefined naming schemes and paths
|
||||
to locate the library, and returns a full pathname if successful::
|
||||
On macOS and Android, :func:`~ctypes.util.find_library` uses the system's
|
||||
standard naming schemes and paths to locate the library, and returns a full
|
||||
pathname if successful::
|
||||
|
||||
>>> from ctypes.util import find_library
|
||||
>>> find_library("c")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue