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
e57a1144
Kaydet (Commit)
e57a1144
authored
Haz 15, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix markup error that hid a tilde character; reported long ago by
Carl Feynman <carlf@abinitio.com>.
üst
9e759dfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
ref3.tex
Doc/ref/ref3.tex
+12
-1
No files found.
Doc/ref/ref3.tex
Dosyayı görüntüle @
e57a1144
...
@@ -933,6 +933,17 @@ instances are compared by object identity (``address'').
...
@@ -933,6 +933,17 @@ instances are compared by object identity (``address'').
\index
{
comparisons
}
\index
{
comparisons
}
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
[object]
{__
rcmp
__}{
self, other
}
Called by all comparison operations. Should return a negative integer if
\code
{
self < other
}
, zero if
\code
{
self == other
}
, a positive integer if
\code
{
self > other
}
. If no
\method
{__
cmp
__
()
}
operation is defined, class
instances are compared by object identity (``address'').
(Note: the restriction that exceptions are not propagated by
\method
{__
cmp
__
()
}
has been removed in Python 1.5.)
\bifuncindex
{
cmp
}
\index
{
comparisons
}
\end{methoddesc}
\begin{methoddesc}
[object]
{__
hash
__}{
self
}
\begin{methoddesc}
[object]
{__
hash
__}{
self
}
Called for the key object for dictionary
\obindex
{
dictionary
}
Called for the key object for dictionary
\obindex
{
dictionary
}
operations, and by the built-in function
operations, and by the built-in function
...
@@ -1201,7 +1212,7 @@ complicated).
...
@@ -1201,7 +1212,7 @@ complicated).
\methodline
[numeric object]
{__
abs
__}{
self
}
\methodline
[numeric object]
{__
abs
__}{
self
}
\methodline
[numeric object]
{__
invert
__}{
self
}
\methodline
[numeric object]
{__
invert
__}{
self
}
Called to implement the unary arithmetic operations (
\code
{
-
}
,
\code
{
+
}
,
Called to implement the unary arithmetic operations (
\code
{
-
}
,
\code
{
+
}
,
\function
{
abs()
}
\bifuncindex
{
abs
}
and
\code
{
~
}
).
\function
{
abs()
}
\bifuncindex
{
abs
}
and
\code
{
\~
{}
}
).
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
[numeric object]
{__
complex
__}{
self
}
\begin{methoddesc}
[numeric object]
{__
complex
__}{
self
}
...
...
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