]> granicus.if.org Git - python/commit
In subst_vars(), change the name of the argument from str to s to
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 25 Jan 2001 20:10:32 +0000 (20:10 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 25 Jan 2001 20:10:32 +0000 (20:10 +0000)
commit5e2d0764cd95b40de64fff54e14091e0e6bdf6f6
treeaec6d6daad08c4e58ef2781212fa7d9261d20e81
parenta39414b15ca4b1a8e1b3cd7db463403ab0af933e
In subst_vars(), change the name of the argument from str to s to
prevent binding for str from masking use of builtin str in nested
function.

(This is the only case I found in the standard library where a local
shadows a global or builtin.  There may be others, but the regression
test doesn't catch them.)
Lib/distutils/util.py