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
6d3db700
Kaydet (Commit)
6d3db700
authored
Tem 29, 2004
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add missing doc for Py_True/Py_False. Use the correct macro to define
Py_RETURN_FALSE and Py_RETURN_TRUE.
üst
a18331de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
concrete.tex
Doc/api/concrete.tex
+16
-6
No files found.
Doc/api/concrete.tex
Dosyayı görüntüle @
6d3db700
...
@@ -204,17 +204,27 @@ booleans. The following macros are available, however.
...
@@ -204,17 +204,27 @@ booleans. The following macros are available, however.
\versionadded
{
2.3
}
\versionadded
{
2.3
}
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
Py
_
RETURN
_
FALSE
}
\begin{cvardesc}
{
PyObject*
}{
Py
_
False
}
Return Py
_
False from a function, properly incrementing its reference
The Python
\code
{
False
}
object. This object has no methods. It needs to
count.
be treated just like any other object with respect to reference counts.
\end{cvardesc}
\begin{cvardesc}
{
PyObject*
}{
Py
_
True
}
The Python
\code
{
True
}
object. This object has no methods. It needs to
be treated just like any other object with respect to reference counts.
\end{cvardesc}
\begin{csimplemacrodesc}
{
Py
_
RETURN
_
FALSE
}
Return
\constant
{
Py
_
False
}
from a function, properly incrementing its
reference count.
\versionadded
{
2.4
}
\versionadded
{
2.4
}
\end{c
func
desc}
\end{c
simplemacro
desc}
\begin{c
func
desc}
{
Py
_
RETURN
_
TRUE
}
\begin{c
simplemacro
desc}
{
Py
_
RETURN
_
TRUE
}
Return Py
_
True from a function, properly incrementing its reference
Return Py
_
True from a function, properly incrementing its reference
count.
count.
\versionadded
{
2.4
}
\versionadded
{
2.4
}
\end{c
func
desc}
\end{c
simplemacro
desc}
\begin{cfuncdesc}
{
int
}{
PyBool
_
Check
}{
PyObject* o
}
\begin{cfuncdesc}
{
int
}{
PyBool
_
Check
}{
PyObject* o
}
Returns true if
\var
{
o
}
is of type
\cdata
{
PyBool
_
Type
}
.
Returns true if
\var
{
o
}
is of type
\cdata
{
PyBool
_
Type
}
.
...
...
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