code: def split(sql, encoding=None):
      
      stack = engine.FilterStack()
      return [text_type(stmt).strip() for stmt in stack.run(sql, encoding)]
docs: Split *sql* into single statements.
  
      :param sql: A string containing one or more SQL statements.
      :param encoding: The encoding of the statement (optional).
      :returns: A list of strings.