diff options
-rw-r--r-- | Doc/api.tex | 6 | ||||
-rw-r--r-- | Doc/api/api.tex | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Doc/api.tex b/Doc/api.tex index b13a097..c030ef8 100644 --- a/Doc/api.tex +++ b/Doc/api.tex @@ -2374,9 +2374,9 @@ Return the default module search path; this is computed from the program name (set by \code{Py_SetProgramName()} above) and some environment variables. The returned string consists of a series of directory names separated by a platform dependent delimiter character. -The delimiter character is \code{':'} on \UNIX{}, \code{';'} on -DOS/Windows, and \code{'\\n'} (the ASCII newline character) on -Macintosh. The returned string points into static storage; the caller +The delimiter character is \code{':'} on \UNIX{}, \code{';'} on +DOS/Windows, and \code{'\\n'} (the \ASCII{} newline character) on +Macintosh. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as the list \code{sys.path}, which may be modified to change the future search path for loaded modules. diff --git a/Doc/api/api.tex b/Doc/api/api.tex index b13a097..c030ef8 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -2374,9 +2374,9 @@ Return the default module search path; this is computed from the program name (set by \code{Py_SetProgramName()} above) and some environment variables. The returned string consists of a series of directory names separated by a platform dependent delimiter character. -The delimiter character is \code{':'} on \UNIX{}, \code{';'} on -DOS/Windows, and \code{'\\n'} (the ASCII newline character) on -Macintosh. The returned string points into static storage; the caller +The delimiter character is \code{':'} on \UNIX{}, \code{';'} on +DOS/Windows, and \code{'\\n'} (the \ASCII{} newline character) on +Macintosh. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as the list \code{sys.path}, which may be modified to change the future search path for loaded modules. |