PyDocs

Nav

Python Runtime Services

bytearray.lstrip

  • bytearray.lstrip(bytes=None, /)
Strip leading bytes contained in the argument.

If the argument is omitted or None, strip leading ASCII whitespace.
1 Example
>>> b'   spacious   '.lstrip()
b'spacious   '
>>> b'www.example.com'.lstrip(b'cmowz.')
b'example.com'
from the Python docs
See Also
No see-alsos for builtins/bytearray.lstrip
0 Notes
No notes for bytearray.lstrip