[issue42313] rstrip removes the trailing `e`s.
Zachary Ware
report at bugs.python.org
Tue Nov 10 10:48:57 EST 2020
Zachary Ware <zachary.ware at gmail.com> added the comment:
See https://docs.python.org/3/library/stdtypes.html#str.rstrip
The `{l,r,}strip` methods remove all characters contained in the passed-in string; `"aabbccddeeffgg".rstrip("gfe") == "aabbccdd"`
----------
nosy: +zach.ware
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42313>
_______________________________________
More information about the Python-bugs-list
mailing list