Author: Armin Rigo <[email protected]>
Branch:
Changeset: r89066:4d3b8f90d4f2
Date: 2016-12-15 14:21 +0100
http://bitbucket.org/pypy/pypy/changeset/4d3b8f90d4f2/
Log: Uh, should be part of 04c5ad075bde
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
@@ -2210,21 +2210,3 @@
it causes an exception to immediately be thrown; this is used for the
throw() methods of generator objects."""
raise NotImplementedError
-
-@cpython_api([PyObject], rffi.INT_real, error=CANNOT_FAIL)
-def PyWeakref_Check(space, ob):
- """Return true if ob is either a reference or proxy object.
- """
- raise NotImplementedError
-
-@cpython_api([PyObject], rffi.INT_real, error=CANNOT_FAIL)
-def PyWeakref_CheckRef(space, ob):
- """Return true if ob is a reference object.
- """
- raise NotImplementedError
-
-@cpython_api([PyObject], rffi.INT_real, error=CANNOT_FAIL)
-def PyWeakref_CheckProxy(space, ob):
- """Return true if ob is a proxy object.
- """
- raise NotImplementedError
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit