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
74923d73
Kaydet (Commit)
74923d73
authored
Eyl 09, 2003
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF bug #560286: Add docs for 'basestring'
üst
a098b33c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
libfuncs.tex
Doc/lib/libfuncs.tex
+9
-0
No files found.
Doc/lib/libfuncs.tex
Dosyayı görüntüle @
74923d73
...
@@ -80,6 +80,15 @@ def my_import(name):
...
@@ -80,6 +80,15 @@ def my_import(name):
above.
}
above.
}
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
basestring
}{}
This abstract type is the superclass for
\class
{
str
}
and
\class
{
unicode
}
.
It cannot be called or instantiated, but it can be used to test whether
an object is an instance of
\class
{
str
}
or
\class
{
unicode
}
.
\code
{
isinstance(obj, basestring)
}
is equivalent to
\code
{
isinstance(obj, (str, unicode))
}
.
\versionadded
{
2.3
}
\end{funcdesc}
\begin{funcdesc}
{
bool
}{
\optional
{
x
}}
\begin{funcdesc}
{
bool
}{
\optional
{
x
}}
Convert a value to a Boolean, using the standard truth testing
Convert a value to a Boolean, using the standard truth testing
procedure. If
\code
{
x
}
is false, this returns
\code
{
False
}
;
procedure. If
\code
{
x
}
is false, this returns
\code
{
False
}
;
...
...
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