utils.py
branchstable
changeset 5077 dc448c9ad9dd
parent 5069 135c5d7b89d0
child 5195 e8235b2789fc
child 5320 848e92bb81cc
--- a/utils.py	Tue Mar 30 11:18:31 2010 +0200
+++ b/utils.py	Tue Mar 30 13:27:30 2010 +0200
@@ -135,7 +135,8 @@
         if isinstance(other, RepeatList):
             return other._size == self.size and other._item == self.item
         return self[:] == other
-
+    def pop(self, i):
+        self._size -= 1
 
 class UStringIO(list):
     """a file wrapper which automatically encode unicode string to an encoding