diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-06-17 05:15:49 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-06-17 05:15:49 (GMT) |
commit | c40bc09942f9532ed957dc8cd4da269ec089e830 (patch) | |
tree | f2596be6a738f230f6be4776f7f42d6925a3d747 /Objects/exceptions.c | |
parent | 8d5c0b8c198374d0b88f30f04dd29d1f19c1c913 (diff) | |
download | cpython-c40bc09942f9532ed957dc8cd4da269ec089e830.zip cpython-c40bc09942f9532ed957dc8cd4da269ec089e830.tar.gz cpython-c40bc09942f9532ed957dc8cd4da269ec089e830.tar.bz2 |
Issue #13783: the PEP 380 implementation no longer expands the public C API
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r-- | Objects/exceptions.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 9e10b7e..f706698 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -516,12 +516,6 @@ StopIteration_traverse(PyStopIterationObject *self, visitproc visit, void *arg) return BaseException_traverse((PyBaseExceptionObject *)self, visit, arg); } -PyObject * -PyStopIteration_Create(PyObject *value) -{ - return PyObject_CallFunctionObjArgs(PyExc_StopIteration, value, NULL); -} - ComplexExtendsException( PyExc_Exception, /* base */ StopIteration, /* name */ |