parameters: (arg)
return_statement: return arg
docstring: Quote the argument for safe use in a shell command line.
docstring_summary: Quote the argument for safe use in a shell command line.
docstring_tokens: Quote the argument for safe use in a shell command line .
function: def _quote_arg(arg):
      """
      Quote the argument for safe use in a shell command line.
      """
      # If there is a quote in the string, assume relevants parts of the
      # string are already quoted (e.g. '-I"C:\\Program Files\\..."')
      if '"' not in arg and ' ' in arg:
          return '"%s"' % arg
      return arg
function_tokens: def _quote_arg ( arg ) : # If there is a quote in the string, assume relevants parts of the # string are already quoted (e.g. '-I"C:\\Program Files\\..."') if '"' not in arg and ' ' in arg : return '"%s"' % arg return arg