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
3214a01d
Kaydet (Commit)
3214a01d
authored
Tem 01, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#1410739: add a footnote about "is" and "unusual" behavior.
üst
1e0eefc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
expressions.rst
Doc/reference/expressions.rst
+5
-1
No files found.
Doc/reference/expressions.rst
Dosyayı görüntüle @
3214a01d
...
@@ -1113,7 +1113,7 @@ The operator :keyword:`not in` is defined to have the inverse true value of
...
@@ -1113,7 +1113,7 @@ The operator :keyword:`not in` is defined to have the inverse true value of
The operators :keyword:`is` and :keyword:`is not` test for object identity: ``x
The operators :keyword:`is` and :keyword:`is not` test for object identity: ``x
is y`` is true if and only if *x* and *y* are the same object. ``x is not y``
is y`` is true if and only if *x* and *y* are the same object. ``x is not y``
yields the inverse truth value.
yields the inverse truth value.
[#]_
.. _booleans:
.. _booleans:
...
@@ -1352,3 +1352,7 @@ groups from right to left).
...
@@ -1352,3 +1352,7 @@ groups from right to left).
only, but this caused surprises because people expected to be able to test a
only, but this caused surprises because people expected to be able to test a
dictionary for emptiness by comparing it to ``{}``.
dictionary for emptiness by comparing it to ``{}``.
.. [#] Due to automatic garbage-collection, free lists, and the dynamic nature of
descriptors, you may notice seemingly unusual behaviour in certain uses of
the :keyword:`is` operator, like those involving comparisons between instance
methods, or constants. Check their documentation for more info.
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