New submission from Thomas Turner <ttur...@joinerysoft.com>: Problem with lstrip
>>> s = 'msgid "supplier code"' >>> >>> s.lstrip('msgid "') 'upplier code"' >>> It should come back with supplier code" To get round the bug I did >>> s.lstrip('msgid ').lstrip('"') 'supplier code"' >>> ---------- components: None messages: 155225 nosy: Thomas.Turner priority: normal severity: normal status: open title: lstrip problem type: behavior versions: Python 2.6, Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14240> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com