Bugs item #1499316, was opened at 2006-06-02 06:51 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1499316&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.4 >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: rpache (rpache) Assigned to: Nobody/Anonymous (nobody) Summary: lstrip does not work properly Initial Comment: #!/usr/bin/python line1='DOMAIN=Alpha' line2='DOMAIN=Beta' error=line1.lstrip('DOMAIN=') ok=line2.lstrip('DOMAIN=') print error print ok The code above prints only "lpha" instead of "Alpha" ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2006-06-02 07:56 Message: Logged In: YES user_id=849994 Please read the docs to (l|r|)strip -- then you'll see that this is not a bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1499316&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com