def split(pattern, string, maxsplit=<NUM_LIT:0>, flags=<NUM_LIT:0>):
return _compile(pattern, flags).split(string, maxsplit)<EOL>
Split the source string by the occurrences of the pattern,
    returning a list containing the resulting substrings.