str.strip([chars]) Return a copy of the string with the leading and trailing characters removed. The chars argument
bytearray.swapcase() Return a copy of the sequence with all the lowercase ASCII characters converted to their corresponding
str.swapcase() Return a copy of the string with uppercase characters converted to lowercase and vice versa. Note that it is
bytes.split(sep=None, maxsplit=-1) bytearray.split(sep=None, maxsplit=-1) Split the binary sequence into subsequences
symmetric_difference_update(other) set ^= other Update the set, keeping only elements found in either set, but not
stop The value of the stop parameter
bytes.count(sub[, start[, end]]) bytearray.count(sub[, start[, end]]) Return the number of non-overlapping occurrences
bytearray.splitlines(keepends=False) Return a list of the lines in the binary sequence, breaking at ASCII line boundaries. This
classmethod bytes.fromhex(string) This
bytearray.isdigit() Return true if all bytes in the sequence are ASCII decimal digits and the sequence is not empty, false otherwise
Page 17 of 20