Lines Matching defs:operation
5013 "specifies the file offset at which the input operation is to be performed. It\n"
7204 "startfile($module, /, filepath, operation=<unrepresentable>,\n"
7210 "When \"operation\" is not specified or \"open\", this acts like\n"
7214 "When another \"operation\" is given, it specifies what should be done with\n"
7215 "the file. A typical operation is \"print\".\n"
7220 "\"cwd\" is the working directory for the operation. If \"filepath\" is\n"
7240 const Py_UNICODE *operation, const Py_UNICODE *arguments,
7247 static const char * const _keywords[] = {"filepath", "operation", "arguments", "cwd", "show_cmd", NULL};
7252 const Py_UNICODE *operation = NULL;
7269 _PyArg_BadArgument("startfile", "argument 'operation'", "str", args[1]);
7273 operation = _PyUnicode_AsUnicode(args[1]);
7275 operation = PyUnicode_AsWideCharString(args[1], NULL);
7277 if (operation == NULL) {
7314 return_value = os_startfile_impl(module, &filepath, operation, arguments, &cwd, show_cmd);
7319 /* Cleanup for operation */
7321 PyMem_Free((void *)operation);