From: Mike Bayer Date: Thu, 17 Dec 2015 16:47:14 +0000 (-0500) Subject: - just use *arg straight without "key" for pop X-Git-Tag: rel_1_1_0b1~84^2~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e5b8a96a7978f5a73a4bd248767122efc5ea265;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - just use *arg straight without "key" for pop --- diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index 7bcef5b8e5..a5fb3b7909 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@ -658,8 +658,8 @@ class MutableDict(Mutable, dict): dict.update(self, *a, **kw) self.changed() - def pop(self, key, *arg): - result = dict.pop(self, key, *arg) + def pop(self, *arg): + result = dict.pop(self, *arg) self.changed() return result