pub fn split_shebang(
    shebang_line: &str
) -> Option<(RequestedVersion, Vec<String>)>
Expand description

Split the shebang into the Python version specified and the arguments to pass to the executable.

Some is only returned if the specified executable is one of:

  • /usr/bin/python
  • /usr/local/bin/python
  • /usr/bin/env python
  • python