]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fix MutableDict.coerce
authorMatt Chisholm <matt@theory.org>
Sun, 27 Jul 2014 10:15:36 +0000 (12:15 +0200)
committerMatt Chisholm <matt@theory.org>
Sat, 9 Aug 2014 09:03:10 +0000 (11:03 +0200)
commit88f7ec6a0efe68305d5d1ee429565c1778ec6a87
tree53b251f8dedad6e0ee48fd5c27c81eff9e18cfaa
parent35551841c522d8eb20f8e20243a5510de9d95dfc
fix MutableDict.coerce

If a class inherited from MutableDict (say, for instance, to add an update() method), coerce() would give back an instance of MutableDict instead of an instance of the derived class.
lib/sqlalchemy/ext/mutable.py
test/ext/test_mutable.py