Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 Doc/c-api/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ The embedding application can steer the search by calling
inserted in front of the standard path. An application that requires total
control has to provide its own implementation of :c:func:`Py_GetPath`,
:c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, and
:c:func:`Py_GetProgramFullPath` (all defined in :file:`Modules/getpath.c`).
:c:func:`Py_GetProgramFullPath` (all defined in :file:`Python/pathconfig.c`).

.. index:: single: Py_IsInitialized()

Expand Down
3 changes: 3 additions & 0 deletions 3 Include/internal/pycore_pathconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ PyAPI_DATA(wchar_t*) _Py_dll_path;

extern void _PyPathConfig_ClearGlobal(void);

#ifdef MS_WINDOWS
extern PyStatus _PyPathConfig_Calculate(
_PyPathConfig *pathconfig,
const PyConfig *config);
#endif

extern int _PyPathConfig_ComputeSysPath0(
const PyWideStringList *argv,
PyObject **path0);
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.