Open dominichofer opened 1 year ago
Refactor string[:len(substring)] == substring into string.startswith(substring). It should be possible to do this automatically with a regex search and replace.
string[:len(substring)] == substring
string.startswith(substring)
Refactor
string[:len(substring)] == substring
intostring.startswith(substring)
. It should be possible to do this automatically with a regex search and replace.