From: Brett Cannon Date: Wed, 22 Dec 2004 05:40:45 +0000 (+0000) Subject: Remove outdated comments about expanduser and expandvars for Macintosh that X-Git-Tag: v2.5a0~2233 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1902146ea121a9aee1552aa8bf9ce5021fd29011;p=thirdparty%2FPython%2Fcpython.git Remove outdated comments about expanduser and expandvars for Macintosh that referred to OS 9 semantics. --- diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex index 066a9616fa12..2a304a2f4aa6 100644 --- a/Doc/lib/libposixpath.tex +++ b/Doc/lib/libposixpath.tex @@ -61,8 +61,7 @@ initial \samp{\~{}} is replaced by the environment variable \envvar{HOME}; an initial \samp{\~\var{user}} is looked up in the password directory through the built-in module \refmodule{pwd}\refbimodindex{pwd}. If the expansion fails, or if the -path does not begin with a tilde, the path is returned unchanged. On -the Macintosh, this always returns \var{path} unchanged. +path does not begin with a tilde, the path is returned unchanged. \end{funcdesc} \begin{funcdesc}{expandvars}{path} @@ -70,7 +69,6 @@ Return the argument with environment variables expanded. Substrings of the form \samp{\$\var{name}} or \samp{\$\{\var{name}\}} are replaced by the value of environment variable \var{name}. Malformed variable names and references to non-existing variables are left -unchanged. On the Macintosh, this always returns \var{path} unchanged. \end{funcdesc}