Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/dl.rst

    r2 r391  
    99
    1010.. 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`
    1212    module instead.
    1313
    1414.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
    1515
    16 The :mod:`dl` module defines an interface to the :cfunc:`dlopen` function, which
     16The :mod:`dl` module defines an interface to the :c:func:`dlopen` function, which
    1717is the most common interface on Unix platforms for handling dynamically linked
    1818libraries. It allows the program to call arbitrary functions in such a library.
     
    106106   must be either Python integers, which will be  passed as is, Python strings, to
    107107   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 :ctype:`const char\*`,
     108   Note that  strings should only be passed to functions as :c:type:`const char\*`,
    109109   as Python will not like its string mutated.
    110110
    111111   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 :ctype:`long`, which is a
     112   ``None``. The function's return value must be a C :c:type:`long`, which is a
    113113   Python integer.
    114114
Note: See TracChangeset for help on using the changeset viewer.