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