Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
28698750
Commit
28698750
authored
Dec 22, 2004
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated comments about expanduser and expandvars for Macintosh that
referred to OS 9 semantics.
parent
1d4aef11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Doc/lib/libposixpath.tex
Doc/lib/libposixpath.tex
+1
-3
No files found.
Doc/lib/libposixpath.tex
View file @
28698750
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment