Fix bug that I just wrote in clear_memo. This one will keep me out

of programmer heaven :(
This commit is contained in:
ketralnis
2009-02-23 15:04:39 -08:00
parent 721175a6ee
commit 3526060ca6

View File

@@ -63,7 +63,7 @@ def _make_key(iden, a, kw):
return (_conv(iden)
+ str([_conv(x) for x in a])
+ str(dict((_conv(x),_conv(y)) for (x,y) in kw)))
+ str(dict((_conv(x),_conv(y)) for (x,y) in kw.iteritems())))
@memoize('test')
def test(x, y):