PyDocs

Nav

Python Runtime Services

bytes.endswith

builtins

method of bytes
  • bytes.endswith(suffix[, start[, end]])
Return True if the bytes ends with the specified suffix, False otherwise.

suffix
  A bytes or a tuple of bytes to try.
start
  Optional start position. Default: start of the bytes.
end
  Optional stop position. Default: end of the bytes.
0 Examples
No examples for builtins/bytes.endswith.
See Also
No see-alsos for builtins/bytes.endswith
0 Notes
No notes for bytes.endswith