[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
Removed another deprecated method
Hanno Schlichting
plone at hannosch.info
Sat Apr 26 16:39:58 EDT 2008
Log message for revision 85776:
Removed another deprecated method
Changed:
U Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/Expressions.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/Expressions.py 2008-04-26 20:10:16 UTC (rev 85775)
+++ Zope/trunk/lib/python/Products/PageTemplates/Expressions.py 2008-04-26 20:39:56 UTC (rev 85776)
@@ -279,16 +279,6 @@
def item(self):
return super(ZopeIterator, self).item()
- # This method was on the old ZTUtils.Iterator.Iterator class but
- # isn't part of the spec. We'll support it for a short
- # deprecation period.
- # BBB 2005/05/01 -- to be removed after 12 months
- @property
- @deprecate("The 'nextIndex' method has been deprecated and will disappear "
- "in Zope 2.12. Use 'iterator.index+1' instead.")
- def nextIndex(self):
- return self.index + 1
-
# 'first' and 'last' are Zope 2 enhancements to the TALES iterator
# spec. See help/tal-repeat.stx for more info
def first(self, name=None):
More information about the Zope-Checkins
mailing list