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
7a700b87
Kaydet (Commit)
7a700b87
authored
Ock 01, 2004
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
clean up indexing for None, NotImplemented
closes SF bug #820344
üst
fcadf6bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
concrete.tex
Doc/api/concrete.tex
+1
-1
ref3.tex
Doc/ref/ref3.tex
+2
-4
ref6.tex
Doc/ref/ref6.tex
+1
-1
No files found.
Doc/api/concrete.tex
Dosyayı görüntüle @
7a700b87
...
@@ -85,7 +85,7 @@ This section describes Python type objects and the singleton object
...
@@ -85,7 +85,7 @@ This section describes Python type objects and the singleton object
\subsection
{
The None Object
\label
{
noneObject
}}
\subsection
{
The None Object
\label
{
noneObject
}}
\obindex
{
None
@
\texttt
{
None
}
}
\obindex
{
None
}
Note that the
\ctype
{
PyTypeObject
}
for
\code
{
None
}
is not directly
Note that the
\ctype
{
PyTypeObject
}
for
\code
{
None
}
is not directly
exposed in the Python/C API. Since
\code
{
None
}
is a singleton,
exposed in the Python/C API. Since
\code
{
None
}
is a singleton,
testing for object identity (using
\samp
{
==
}
in C) is sufficient.
testing for object identity (using
\samp
{
==
}
in C) is sufficient.
...
...
Doc/ref/ref3.tex
Dosyayı görüntüle @
7a700b87
...
@@ -134,8 +134,7 @@ This object is accessed through the built-in name \code{None}.
...
@@ -134,8 +134,7 @@ This object is accessed through the built-in name \code{None}.
It is used to signify the absence of a value in many situations, e.g.,
It is used to signify the absence of a value in many situations, e.g.,
it is returned from functions that don't explicitly return anything.
it is returned from functions that don't explicitly return anything.
Its truth value is false.
Its truth value is false.
\ttindex
{
None
}
\obindex
{
None
}
\obindex
{
None@
{
\texttt
{
None
}}}
\item
[NotImplemented]
\item
[NotImplemented]
This type has a single value. There is a single object with this value.
This type has a single value. There is a single object with this value.
...
@@ -144,8 +143,7 @@ Numeric methods and rich comparison methods may return this value if
...
@@ -144,8 +143,7 @@ Numeric methods and rich comparison methods may return this value if
they do not implement the operation for the operands provided. (The
they do not implement the operation for the operands provided. (The
interpreter will then try the reflected operation, or some other
interpreter will then try the reflected operation, or some other
fallback, depending on the operator.) Its truth value is true.
fallback, depending on the operator.) Its truth value is true.
\ttindex
{
NotImplemented
}
\obindex
{
NotImplemented
}
\obindex
{
NotImplemented@
{
\texttt
{
NotImplemented
}}}
\item
[Ellipsis]
\item
[Ellipsis]
This type has a single value. There is a single object with this value.
This type has a single value. There is a single object with this value.
...
...
Doc/ref/ref6.tex
Dosyayı görüntüle @
7a700b87
...
@@ -48,7 +48,7 @@ function and the resulting string is written to standard output (see
...
@@ -48,7 +48,7 @@ function and the resulting string is written to standard output (see
section~
\ref
{
print
}
) on a line by itself. (Expression statements
section~
\ref
{
print
}
) on a line by itself. (Expression statements
yielding
\code
{
None
}
are not written, so that procedure calls do not
yielding
\code
{
None
}
are not written, so that procedure calls do not
cause any output.)
cause any output.)
\
tt
index
{
None
}
\
ob
index
{
None
}
\indexii
{
string
}{
conversion
}
\indexii
{
string
}{
conversion
}
\index
{
output
}
\index
{
output
}
\indexii
{
standard
}{
output
}
\indexii
{
standard
}{
output
}
...
...
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