Local variables persist in functions?
Paul McGuire
ptmcg at austin.rr._bogus_.com
Fri Nov 24 11:59:46 EST 2006
<120psi at gmail.com> wrote in message
news:1164355869.607182.278200 at l12g2000cwl.googlegroups.com...
> I'm a bit baffled. Here is a bit of fairly straightforward code:
>
> def _chunkify( l, chunkSize, _curList = list() ):
> print _curList # yay for printf debugging
Check out Winpdb at http://www.digitalpeers.com/pythondebugger/.
-- Paul
More information about the Python-list
mailing list