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
0cc818f0
Kaydet (Commit)
0cc818f0
authored
Kas 21, 2008
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix minor typos.
üst
29bb6d52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expressions.rst
Doc/reference/expressions.rst
+3
-3
No files found.
Doc/reference/expressions.rst
Dosyayı görüntüle @
0cc818f0
...
@@ -1043,7 +1043,7 @@ Comparison of objects of the same type depends on the type:
...
@@ -1043,7 +1043,7 @@ Comparison of objects of the same type depends on the type:
program.
program.
Comparison of objects of the differing types depends on whether either
Comparison of objects of the differing types depends on whether either
of the types provide explicit support for the comparison. Most num
b
eric types
of the types provide explicit support for the comparison. Most numeric types
can be compared with one another, but comparisons of :class:`float` and
can be compared with one another, but comparisons of :class:`float` and
:class:`Decimal` are not supported to avoid the inevitable confusion arising
:class:`Decimal` are not supported to avoid the inevitable confusion arising
from representation issues such as ``float('1.1')`` being inexactly represented
from representation issues such as ``float('1.1')`` being inexactly represented
...
@@ -1058,8 +1058,8 @@ s`` evaluates to true if *x* is a member of *s*, and false otherwise. ``x not
...
@@ -1058,8 +1058,8 @@ s`` evaluates to true if *x* is a member of *s*, and false otherwise. ``x not
in s`` returns the negation of ``x in s``. All built-in sequences and set types
in s`` returns the negation of ``x in s``. All built-in sequences and set types
support this as well as dictionary, for which :keyword:`in` tests whether a the
support this as well as dictionary, for which :keyword:`in` tests whether a the
dictionary has a given key. For container types such as list, tuple, set,
dictionary has a given key. For container types such as list, tuple, set,
frozenset, dict, or collections.deque, the expression ``x in y``
equivalent to
frozenset, dict, or collections.deque, the expression ``x in y``
is equivalent
``any(x is e or x == e for val e in y)``.
to
``any(x is e or x == e for val e in y)``.
For the string and bytes types, ``x in y`` is true if and only if *x* is a
For the string and bytes types, ``x in y`` is true if and only if *x* is a
substring of *y*. An equivalent test is ``y.find(x) != -1``. Empty strings are
substring of *y*. An equivalent test is ``y.find(x) != -1``. Empty strings are
...
...
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