Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
75745875
Kaydet (Commit)
75745875
authored
Şub 18, 1997
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the new join() semantics.
üst
fbd64c87
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
32 deletions
+12
-32
libppath.tex
Doc/lib/libppath.tex
+6
-16
libppath.tex
Doc/libppath.tex
+6
-16
No files found.
Doc/lib/libppath.tex
Dosyayı görüntüle @
75745875
...
@@ -79,22 +79,12 @@ different device than \var{p}, or whether \file{\var{p}/..} and
...
@@ -79,22 +79,12 @@ different device than \var{p}, or whether \file{\var{p}/..} and
detect mount points for all
\UNIX
{}
and POSIX variants.
detect mount points for all
\UNIX
{}
and POSIX variants.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
join
}{
p
\,
q
}
\begin{funcdesc}
{
join
}{
p
\optional
{
\,
q
\optional
{
\,
...
}}}
Join the paths
Joins one or more path components intelligently. If any component is
\var
{
p
}
an absolute path, all previous components are thrown away, and joining
and
continues. The return value is the concatenation of
\var
{
p
}
, and
\var
{
q
}
intelligently:
optionally
\var
{
q
}
, etc., with exactly one slash (
\code
{
'/'
}
) inserted
If
between components, unless
\var
{
p
}
is empty.
\var
{
q
}
is an absolute path, the return value is
\var
{
q
}
.
Otherwise, the concatenation of
\var
{
p
}
and
\var
{
q
}
is returned, with a slash (
\code
{
'/'
}
) inserted unless
\var
{
p
}
is empty or ends in a slash.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
normcase
}{
p
}
\begin{funcdesc}
{
normcase
}{
p
}
...
...
Doc/libppath.tex
Dosyayı görüntüle @
75745875
...
@@ -79,22 +79,12 @@ different device than \var{p}, or whether \file{\var{p}/..} and
...
@@ -79,22 +79,12 @@ different device than \var{p}, or whether \file{\var{p}/..} and
detect mount points for all
\UNIX
{}
and POSIX variants.
detect mount points for all
\UNIX
{}
and POSIX variants.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
join
}{
p
\,
q
}
\begin{funcdesc}
{
join
}{
p
\optional
{
\,
q
\optional
{
\,
...
}}}
Join the paths
Joins one or more path components intelligently. If any component is
\var
{
p
}
an absolute path, all previous components are thrown away, and joining
and
continues. The return value is the concatenation of
\var
{
p
}
, and
\var
{
q
}
intelligently:
optionally
\var
{
q
}
, etc., with exactly one slash (
\code
{
'/'
}
) inserted
If
between components, unless
\var
{
p
}
is empty.
\var
{
q
}
is an absolute path, the return value is
\var
{
q
}
.
Otherwise, the concatenation of
\var
{
p
}
and
\var
{
q
}
is returned, with a slash (
\code
{
'/'
}
) inserted unless
\var
{
p
}
is empty or ends in a slash.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
normcase
}{
p
}
\begin{funcdesc}
{
normcase
}{
p
}
...
...
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