PyDocs

Nav

Python Runtime Services

bytes.rsplit

builtins

method of bytes
  • bytes.rsplit(sep=None, maxsplit=-1)
Return a list of the sections in the bytes, using sep as the delimiter.

  sep
    The delimiter according which to split the bytes.
    None (the default value) means split on ASCII whitespace
    characters (space, tab, return, newline, formfeed, vertical tab).
  maxsplit
    Maximum number of splits to do.
    -1 (the default value) means no limit.

Splitting is done starting at the end of the bytes and working to
the front.
0 Examples
No examples for builtins/bytes.rsplit.
See Also
No see-alsos for builtins/bytes.rsplit
0 Notes
No notes for bytes.rsplit