Possible Duplicate:
Is this a bug in Python 2.7?
The .lstrip() function doesn't quite work as I expected on some strings (especially ones with underscores). e.g.,
In [1]: a='abcd_efg_hijk_lmno_pqrs_tuvw_xyz'
In [2]: a.lstrip('abcd_efg')
Out[2]: 'hijk_lmno_pqrs_tuvw_xyz'
Here, the '_' between 'g' and 'h' is missing. Any idea as to why this happens?