]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix SF bug #529273: WeakValueDictionary.setdefault() raised UnboundLocalError
authorFred Drake <fdrake@acm.org>
Wed, 13 Mar 2002 05:47:26 +0000 (05:47 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 13 Mar 2002 05:47:26 +0000 (05:47 +0000)
commit67edc16652c9749b0b3a2d3218c91dc1558f260d
treeff89dae15779fcbfd5888ee51a0f4b54569791da
parentbda636660c9e54788be484ab9f0d67831ce5b4e5
Fix SF bug #529273: WeakValueDictionary.setdefault() raised UnboundLocalError
since it used the name of a global function as the name of a local.  The
patch is almost identical to that submitted with the bug report.
Lib/weakref.py