8.5.12.15.39. rstripΒΆ

HexValue.rstrip(chars=None, /)

Return a copy of the string with trailing whitespace removed.

If chars is given and not None, remove characters in chars instead.