[Checkins] SVN: zope.proxy/trunk/ Moar Py3 compatibility.
Tres Seaver
cvs-admin at zope.org
Wed Jun 6 20:13:20 UTC 2012
Log message for revision 126624:
Moar Py3 compatibility.
Changed:
_U zope.proxy/trunk/
U zope.proxy/trunk/src/zope/proxy/__init__.py
-=-
Modified: zope.proxy/trunk/src/zope/proxy/__init__.py
===================================================================
--- zope.proxy/trunk/src/zope/proxy/__init__.py 2012-06-06 20:13:13 UTC (rev 126623)
+++ zope.proxy/trunk/src/zope/proxy/__init__.py 2012-06-06 20:13:17 UTC (rev 126624)
@@ -138,6 +138,9 @@
# Called when we wrap an iterator itself.
return self._wrapped.next()
+ def __next__(self): #pragma NO COVER Python3
+ return self._wrapped.__next__()
+
# Python 2.7 won't let the C wrapper support __reversed__ :(
#def __reversed__(self):
# return reversed(self._wrapped)
More information about the checkins
mailing list