10 Mar
2015
10 Mar
'15
5:34 p.m.
* lou xiao <lox.xiao@gmail.com> [2015-03-11 01:27:21 +0800]:
I find a bug in str.lstrip, when i call str.lstrip, i get this result.
You're misunderstanding how str.strip works. It takes a set of characters and removes them all from the beginning: >>> "abababcd".lstrip('ab') >>> 'cd' Florian -- http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/