Patrick Maupin added the comment:

I think you misunderstand rstrip -- it works from the right, and checks to see 
if the right-most character is in the string you have given it.  As long as it 
is, then it will remove the character and loop

----------
nosy: +Patrick Maupin

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24445>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to