Updated PEP-0007 to refer to PyAPI_FUNC instead of DL_IMPORT, which

was deprecated in Python 2.3.
This commit is contained in:
Daniel Stutzbach 2010-09-02 14:57:18 +00:00
parent 209b145e5a
commit 592702b5ea
1 changed files with 2 additions and 2 deletions

View File

@ -121,9 +121,9 @@ Code lay-out
- For external functions and variables, we always have a
declaration in an appropriate header file in the "Include"
directory, which uses the DL_IMPORT() macro, like this:
directory, which uses the PyAPI_FUNC() macro, like this:
extern DL_IMPORT(PyObject *) PyObject_Repr(PyObject *);
PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
Naming conventions