[Python-Dev] Other library code transformations

Walter Dörwald walter@livinglogic.de
Sun, 02 Jun 2002 11:27:28 +0200


Raymond Hettinger wrote:
> From: "M.-A. Lemburg" <mal@lemburg.com>
> 
>>While you're at it: could you also write up all these little
>>"code cleanups" in some file so that Andrew can integrate them
>>in the migration guide ?!
> 
> 
> Will do!

There's another one:
"foobar"[:3]=="foo" --> "foobar".startswith("foo")

Bye,
    Walter Dörwald