]> granicus.if.org Git - python/commit
Fix obscure bug in string%mapping where the mapping creates its items
authorGuido van Rossum <guido@python.org>
Tue, 21 May 1996 22:44:20 +0000 (22:44 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 21 May 1996 22:44:20 +0000 (22:44 +0000)
commit993952bfb292dba03d19acd1d1859ec4e2e3b003
tree2ece1d7a572802af9c8098a1ee54a3471b28bcf2
parent422cc7ffecf6c0aaeefd7b6da4514b263d8666a2
Fix obscure bug in string%mapping where the mapping creates its items
on the fly -- there was an unsafe DECREF.  Actually save some lines of
code by using abstract.c:PyObject_GetItem().
Objects/stringobject.c