Changeset 391 for python/trunk/Doc/library/dl.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/dl.rst
r2 r391 9 9 10 10 .. deprecated:: 2.6 11 The :mod:`dl` module has been removed in Python 3. 0.Use the :mod:`ctypes`11 The :mod:`dl` module has been removed in Python 3. Use the :mod:`ctypes` 12 12 module instead. 13 13 14 14 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il> 15 15 16 The :mod:`dl` module defines an interface to the :c func:`dlopen` function, which16 The :mod:`dl` module defines an interface to the :c:func:`dlopen` function, which 17 17 is the most common interface on Unix platforms for handling dynamically linked 18 18 libraries. It allows the program to call arbitrary functions in such a library. … … 106 106 must be either Python integers, which will be passed as is, Python strings, to 107 107 which a pointer will be passed, or ``None``, which will be passed as *NULL*. 108 Note that strings should only be passed to functions as :c type:`const char\*`,108 Note that strings should only be passed to functions as :c:type:`const char\*`, 109 109 as Python will not like its string mutated. 110 110 111 111 There must be at most 10 arguments, and arguments not given will be treated as 112 ``None``. The function's return value must be a C :c type:`long`, which is a112 ``None``. The function's return value must be a C :c:type:`long`, which is a 113 113 Python integer. 114 114
Note:
See TracChangeset
for help on using the changeset viewer.