diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-02 22:38:47 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-02 22:38:47 +0000 |
commit | 1f900f1f69c93e409595f34a6da9e2b10e331421 (patch) | |
tree | cc8c26434cbfcac1bb6c80773bf124b3639e2ab5 /Include/methodobject.h | |
parent | Block r64673. (diff) | |
download | cpython-1f900f1f69c93e409595f34a6da9e2b10e331421.tar.gz cpython-1f900f1f69c93e409595f34a6da9e2b10e331421.tar.bz2 cpython-1f900f1f69c93e409595f34a6da9e2b10e331421.zip |
#3247: get rid of Py_FindMethod
Third step: unix-only modules. Really remove the function this time.
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r-- | Include/methodobject.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h index cd1d2655640..81e84ceae4d 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -43,8 +43,6 @@ struct PyMethodDef { }; typedef struct PyMethodDef PyMethodDef; -PyAPI_FUNC(PyObject *) Py_FindMethod(PyMethodDef[], PyObject *, const char *); - #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, PyObject *); @@ -70,14 +68,6 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *, #define METH_COEXIST 0x0040 -typedef struct PyMethodChain { - PyMethodDef *methods; /* Methods of this type */ - struct PyMethodChain *link; /* NULL or base type */ -} PyMethodChain; - -PyAPI_FUNC(PyObject *) Py_FindMethodInChain(PyMethodChain *, PyObject *, - const char *); - typedef struct { PyObject_HEAD PyMethodDef *m_ml; /* Description of the C function to call */ |