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
a90bb7dd
Commit
a90bb7dd
authored
Sep 12, 2002
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add note about os.path.join and drive letters on Windows.
parent
b111f01a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Doc/lib/libposixpath.tex
Doc/lib/libposixpath.tex
+4
-1
No files found.
Doc/lib/libposixpath.tex
View file @
a90bb7dd
...
...
@@ -123,7 +123,10 @@ Joins one or more path components intelligently. If any component is
an absolute path, all previous components are thrown away, and joining
continues. The return value is the concatenation of
\var
{
path1
}
, and
optionally
\var
{
path2
}
, etc., with exactly one slash (
\code
{
'/'
}
)
inserted between components, unless
\var
{
path
}
is empty.
inserted between components, unless
\var
{
path
}
is empty. Note that on
Windows, since there is a current directory for each drive,
{}
\function
{
os.path.join("c:", "foo")
}
represents a path relative to the
current directory on drive C:, not
\code
{
c:
\\
foo
}
.
\end{funcdesc}
\begin{funcdesc}
{
normcase
}{
path
}
...
...
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