Author: Wim Lavrijsen <[email protected]>
Branch: cppyy-packaging
Changeset: r92062:319df9089e80
Date: 2017-08-03 15:19 -0700
http://bitbucket.org/pypy/pypy/changeset/319df9089e80/
Log: destruct -> __destruct__ in pythonification
diff --git a/pypy/module/_cppyy/pythonify.py b/pypy/module/_cppyy/pythonify.py
--- a/pypy/module/_cppyy/pythonify.py
+++ b/pypy/module/_cppyy/pythonify.py
@@ -369,7 +369,7 @@
while i != self.end():
yield i.__deref__()
i.__preinc__()
- i.destruct()
+ i.__destruct__()
raise StopIteration
pyclass.__iter__ = __iter__
# else: rely on numbered iteration
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit