Lines Matching refs:path
12 - path: module search path (list of strings)
2419 path -- module search path; path[0] is the script directory, else ''\n\
2448 executable -- absolute path of the executable binary of the Python interpreter\n\
3090 COPY_LIST("path", config->module_search_paths);
3250 makepathobject(const wchar_t *path, wchar_t delim)
3257 p = path;
3266 p = wcschr(path, delim);
3268 p = path + wcslen(path); /* End of string */
3269 w = PyUnicode_FromWideChar(path, (Py_ssize_t)(p - path));
3277 path = p+1;
3283 PySys_SetPath(const wchar_t *path)
3286 if ((v = makepathobject(path, DELIM)) == NULL)
3287 Py_FatalError("can't create sys.path");
3289 if (sys_set_object(interp, &_Py_ID(path), v) != 0) {
3290 Py_FatalError("can't assign sys.path");
3337 /* If argv[0] is not '-c' nor '-m', prepend argv[0] to sys.path.
3338 If argv[0] is a symlink, use the real path. */
3346 PyObject *sys_path = _PySys_GetAttr(tstate, &_Py_ID(path));
3350 Py_FatalError("can't prepend path0 to sys.path");