]> granicus.if.org Git - python/commit
Change temp names created by listcomps from [%d] to _[%d], so the one-liner
authorTim Peters <tim.peters@gmail.com>
Sat, 17 Feb 2001 05:30:26 +0000 (05:30 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 17 Feb 2001 05:30:26 +0000 (05:30 +0000)
commit3081421d9e7456f4c3078ec40ee445751c5c5a07
treecad420f833fed34895bd40706c4ede74dea73bc3
parent27eba5e88810e433633e0028cc68e74619ace377
Change temp names created by listcomps from [%d] to _[%d], so the one-liner
    [k for k in dir() if k[0] != "_"]
can be used to get the non-private names (used to contain "[1]").
Python/compile.c