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
d09120b5
Kaydet (Commit)
d09120b5
authored
Nis 29, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added index entries for operator precedence; suggestion from Randall
Hopper <rhh@vislab.epa.gov>.
üst
62e80138
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
ref5.tex
Doc/ref/ref5.tex
+10
-8
No files found.
Doc/ref/ref5.tex
Dosyayı görüntüle @
d09120b5
...
...
@@ -846,16 +846,18 @@ tuple, but rather yields the value of that expression (expression).
\code
{
()
}
.)
\indexii
{
trailing
}{
comma
}
\section
{
Summary
\label
{
summary
}}
The following table summarizes the operator precedences in Python,
from lowest precedence (least binding) to highest precedence (most
binding). Operators in the same box have the same precedence. Unless
the syntax is explicitly given, operators are binary. Operators in
the same box group left to right (except for comparisons, which
chain from left to right --- see above).
The following table summarizes the operator
precedences
\indexii
{
operator
}{
precedence
}
in Python, from lowest
precedence (least binding) to highest precedence (most binding).
Operators in the same box have the same precedence. Unless the syntax
is explicitly given, operators are binary. Operators in the same box
group left to right (except for comparisons, which chain from left to
right --- see above).
\begin{tableii}
{
c|
c
}{
textrm
}{
Operator
}{
Description
}
\begin{tableii}
{
c|
l
}{
textrm
}{
Operator
}{
Description
}
\lineii
{
\keyword
{
lambda
}}
{
Lambda expression
}
\hline
\lineii
{
\keyword
{
or
}}
{
Boolean OR
}
...
...
@@ -892,7 +894,7 @@ chain from left to right --- see above).
\lineii
{
\code
{
\var
{
x
}
[
\var
{
index
}
]
}}
{
Subscription
}
\lineii
{
\code
{
\var
{
x
}
[
\var
{
index
}
:
\var
{
index
}
]
}}
{
Slicing
}
\lineii
{
\code
{
\var
{
f
}
(
\var
{
arguments
}
...)
}}
{
Function call
}
\hline
\hline
\lineii
{
\code
{
(
\var
{
expressions
}
\ldots
)
}}
{
Binding or tuple display
}
\lineii
{
\code
{
[
\var
{
expressions
}
\ldots
]
}}
{
List display
}
\lineii
{
\code
{
\{\var
{
key
}
:
\var
{
datum
}
\ldots\}
}}{
Dictionary display
}
...
...
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