[pypy-commit] pypy default: delete implemented function from unused stubs.py

mattip pypy.commits at gmail.com
Mon Aug 21 06:46:07 EDT 2017


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r92195:0f254609cb4f
Date: 2017-08-20 17:39 +0300
http://bitbucket.org/pypy/pypy/changeset/0f254609cb4f/

Log:	delete implemented function from unused stubs.py

diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py
--- a/pypy/module/cpyext/stubs.py
+++ b/pypy/module/cpyext/stubs.py
@@ -226,11 +226,6 @@
     representation."""
     raise NotImplementedError
 
- at cpython_api([Py_complex], PyObject)
-def PyComplex_FromCComplex(space, v):
-    """Create a new Python complex number object from a C Py_complex value."""
-    raise NotImplementedError
-
 @cpython_api([rffi.CCHARP, rffi.CCHARPP], rffi.DOUBLE, error=CANNOT_FAIL)
 def PyOS_ascii_strtod(space, nptr, endptr):
     """Convert a string to a double. This function behaves like the Standard C


More information about the pypy-commit mailing list