aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-01-18 03:14:59 +0000
committerGitHub <noreply@github.com>2020-01-18 03:14:59 +0000
commitcd7db76a636c218b2d81d3526eb435cfae61f212 (patch)
tree282471f1c269d9155a764960769347a9871b711e /Include/methodobject.h
parentRun doctests in GitHub actions Docs targer (GH-18041) (diff)
downloadcpython-cd7db76a636c218b2d81d3526eb435cfae61f212.tar.gz
cpython-cd7db76a636c218b2d81d3526eb435cfae61f212.tar.bz2
cpython-cd7db76a636c218b2d81d3526eb435cfae61f212.zip
bpo-39372: Clean header files of declared interfaces with no implementations (GH-18037)
The public API symbols being removed are: _PyBytes_InsertThousandsGroupingLocale, _PyBytes_InsertThousandsGrouping, _Py_InitializeFromArgs, _Py_InitializeFromWideArgs, _PyFloat_Repr, _PyFloat_Digits, _PyFloat_DigitsInit, PyFrame_ExtendStack, _PyAIterWrapper_Type, PyNullImporter_Type, PyCmpWrapper_Type, PySortWrapper_Type, PyNoArgsFunction.
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r--Include/methodobject.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h
index a15d05f8991..d9f8d4f80c2 100644
--- a/Include/methodobject.h
+++ b/Include/methodobject.h
@@ -22,8 +22,6 @@ typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *,
typedef PyObject *(*_PyCFunctionFastWithKeywords) (PyObject *,
PyObject *const *, Py_ssize_t,
PyObject *);
-typedef PyObject *(*PyNoArgsFunction)(PyObject *);
-
PyAPI_FUNC(PyCFunction) PyCFunction_GetFunction(PyObject *);
PyAPI_FUNC(PyObject *) PyCFunction_GetSelf(PyObject *);
PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *);