[Python-Dev] correction of a bug

Heiko Wundram me+python-dev at modelnine.org
Sun May 14 22:22:10 CEST 2006


Am Samstag 13 Mai 2006 17:30 schrieb draconux:
> I found a bug in python
> I'm using python 2.4 with debian etch
>
> string.lstrip("source/old_prog","source/") return "ld_prog" instead of
> "old_prog"

This is not a bug, but rather expected behaviour. Read the specification of 
lstrip() correctly.

--- Heiko.


More information about the Python-Dev mailing list