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_0_11~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6c035b29899278ebf5270c1127b0fc111f98328;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - just use *arg straight without "key" for pop (cherry picked from commit 5e5b8a96a7978f5a73a4bd248767122efc5ea265) --- 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