]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- just use *arg straight without "key" for pop
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 Dec 2015 16:47:14 +0000 (11:47 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 Dec 2015 16:47:14 +0000 (11:47 -0500)
lib/sqlalchemy/ext/mutable.py

index 7bcef5b8e566b530a0f26f72839ad52dc8c214a3..a5fb3b7909feebad5020b288456a12b6f72bba0c 100644 (file)
@@ -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