[Zope3-checkins] CVS: Zope3/src/zope/xmlpickle - ppml.py:1.3
Jeremy Hylton
jeremy@zope.com
Thu, 6 Feb 2003 12:33:42 -0500
Update of /cvs-repository/Zope3/src/zope/xmlpickle
In directory cvs.zope.org:/tmp/cvs-serv4985
Modified Files:
ppml.py
Log Message:
Add an extend method to sequences for 2.3 compatibility.
=== Zope3/src/zope/xmlpickle/ppml.py 1.2 => 1.3 ===
--- Zope3/src/zope/xmlpickle/ppml.py:1.2 Wed Dec 25 09:15:35 2002
+++ Zope3/src/zope/xmlpickle/ppml.py Thu Feb 6 12:33:40 2003
@@ -358,6 +358,9 @@
def append(self, v):
self._subs.append(v)
+ def extend(self, v):
+ self._subs.extend(v)
+
def value(self, write, indent):
for v in self._subs:
v.output(write, indent)