summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-04-21 03:53:01 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-04-21 03:53:01 +0000
commit4058efa3466d8417319a47ee34d0bc7af29d31ac (patch)
treee1acd2302a1d45362e9c57d6824133aa54b7b2f4 /lib/sqlalchemy/util.py
parent333a0f84b7d28397de90392b1c48a8239a6b4167 (diff)
downloadsqlalchemy-4058efa3466d8417319a47ee34d0bc7af29d31ac.tar.gz
added extend() to historyarrayset
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r--lib/sqlalchemy/util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py
index d4d556699..23e828ef3 100644
--- a/lib/sqlalchemy/util.py
+++ b/lib/sqlalchemy/util.py
@@ -383,6 +383,9 @@ class HistoryArraySet(UserList.UserList):
def remove(self, item):
if self._delrecord(item):
self.data.remove(item)
+ def extend(self, item_list):
+ for item in item_list:
+ self.append(item)
def __add__(self, other):
raise NotImplementedError()
def __radd__(self, other):