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
ad351f80
Kaydet (Commit)
ad351f80
authored
Nis 07, 2005
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF bug #1178269 Clarify when isMappingType/isSequenceType is True.
üst
fb5f04d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
liboperator.tex
Doc/lib/liboperator.tex
+5
-3
No files found.
Doc/lib/liboperator.tex
Dosyayı görüntüle @
ad351f80
...
...
@@ -262,7 +262,8 @@ unbound methods, class objects, and instance objects which support the
\begin{funcdesc}
{
isMappingType
}{
o
}
Returns true if the object
\var
{
o
}
supports the mapping interface.
This is true for dictionaries and all instance objects.
This is true for dictionaries and all instance objects defining
\method
{__
getitem
__}
.
\warning
{
There is no reliable way to test if an instance
supports the complete mapping protocol since the interface itself is
ill-defined. This makes this test less useful than it otherwise might
...
...
@@ -271,7 +272,7 @@ be.}
\begin{funcdesc}
{
isNumberType
}{
o
}
Returns true if the object
\var
{
o
}
represents a number. This is true
for all numeric types implemented in C
, and for all instance objects
.
for all numeric types implemented in C.
\warning
{
There is no reliable way to test if an instance
supports the complete numeric interface since the interface itself is
ill-defined. This makes this test less useful than it otherwise might
...
...
@@ -281,7 +282,8 @@ be.}
\begin{funcdesc}
{
isSequenceType
}{
o
}
Returns true if the object
\var
{
o
}
supports the sequence protocol.
This returns true for all objects which define sequence methods in C,
and for all instance objects.
\warning
{
There is no reliable
and for all instance objects defining
\method
{__
getitem
__}
.
\warning
{
There is no reliable
way to test if an instance supports the complete sequence interface
since the interface itself is ill-defined. This makes this test less
useful than it otherwise might be.
}
...
...
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