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
a58e9edb
Kaydet (Commit)
a58e9edb
authored
May 22, 1998
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document missing functions: xor, not, truth, countOf, indexOf, and
(new!) contains.
üst
7bf15648
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
liboperator.tex
Doc/lib/liboperator.tex
+28
-0
No files found.
Doc/lib/liboperator.tex
Dosyayı görüntüle @
a58e9edb
...
...
@@ -77,6 +77,20 @@ Return the bitwise and of \var{a} and \var{b}.
Return the bitwise or of
\var
{
a
}
and
\var
{
b
}
.
\end{funcdesc}
\begin{funcdesc}
{
xor
}{
a, b
}
\funcline
{__
xor
__}{
a, b
}
Return the bitwise exclusive or of
\var
{
a
}
and
\var
{
b
}
.
\end{funcdesc}
\begin{funcdesc}
{
not
_}{
o
}
\funcline
{__
not
__}{
o
}
Return the outcome of
\keyword
{
not
}
\var
{
o
}
.
\end{funcdesc}
\begin{funcdesc}
{
truth
}{
o
}
Return 1 if
\var
{
o
}
is true, and 0 otherwise.
\end{funcdesc}
\begin{funcdesc}
{
concat
}{
a, b
}
\funcline
{__
concat
__}{
a, b
}
Return
\var
{
a
}
\code
{
+
}
\var
{
b
}
for
\var
{
a
}
and
\var
{
b
}
sequences.
...
...
@@ -88,6 +102,20 @@ Return \var{a} \code{*} \var{b} where \var{a} is a sequence and
\var
{
b
}
is an integer.
\end{funcdesc}
\begin{funcdesc}
{
contains
}{
a, b
}
\funcline
{
sequenceIncludes
}{
a, b
}
Return the outcome of the test
\var
{
b
}
\code
{
in
}
\var
{
a
}
.
Note the reversed operands.
\end{funcdesc}
\begin{funcdesc}
{
countOf
}{
a, b
}
Return the number of occurrences of
\var
{
b
}
in
\var
{
a
}
.
\end{funcdesc}
\begin{funcdesc}
{
indexOf
}{
a, b
}
Return the index of the first of occurrence of
\var
{
b
}
in
\var
{
a
}
.
\end{funcdesc}
\begin{funcdesc}
{
getitem
}{
a, b
}
\funcline
{__
getitem
__}{
a, b
}
Return the value of
\var
{
a
}
at index
\var
{
b
}
.
...
...
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