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
7572f032
Kaydet (Commit)
7572f032
authored
Agu 08, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
``str`` is now the same object as ``types.StringType``.
üst
7f719c5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
17 deletions
+24
-17
concrete.tex
Doc/api/concrete.tex
+24
-17
No files found.
Doc/api/concrete.tex
Dosyayı görüntüle @
7572f032
...
...
@@ -31,7 +31,7 @@ This section describes Python type objects and the singleton object
\begin{cvardesc}
{
PyObject*
}{
PyType
_
Type
}
This is the type object for type objects; it is the same object as
\code
{
types.TypeType
}
in the Python layer.
\code
{
type
}
and
\code
{
type
s.TypeType
}
in the Python layer.
\withsubitem
{
(in module types)
}{
\ttindex
{
TypeType
}}
\end{cvardesc}
...
...
@@ -117,7 +117,8 @@ There is no \cfunction{PyNone_Check()} function for the same reason.
\begin{cvardesc}
{
PyTypeObject
}{
PyInt
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python plain
integer type. This is the same object as
\code
{
types.IntType
}
.
integer type. This is the same object as
\code
{
int
}
and
\code
{
types.IntType
}
.
\withsubitem
{
(in modules types)
}{
\ttindex
{
IntType
}}
\end{cvardesc}
...
...
@@ -260,7 +261,8 @@ booleans. The following macros are available, however.
\begin{cvardesc}
{
PyTypeObject
}{
PyLong
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python long
integer type. This is the same object as
\code
{
types.LongType
}
.
integer type. This is the same object as
\code
{
long
}
and
\code
{
types.LongType
}
.
\withsubitem
{
(in modules types)
}{
\ttindex
{
LongType
}}
\end{cvardesc}
...
...
@@ -411,7 +413,8 @@ booleans. The following macros are available, however.
\begin{cvardesc}
{
PyTypeObject
}{
PyFloat
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python floating
point type. This is the same object as
\code
{
types.FloatType
}
.
point type. This is the same object as
\code
{
float
}
and
\code
{
types.FloatType
}
.
\withsubitem
{
(in modules types)
}{
\ttindex
{
FloatType
}}
\end{cvardesc}
...
...
@@ -520,7 +523,8 @@ typedef struct {
\begin{cvardesc}
{
PyTypeObject
}{
PyComplex
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python complex
number type.
number type. It is the same object as
\code
{
complex
}
and
\code
{
types.ComplexType
}
.
\end{cvardesc}
\begin{cfuncdesc}
{
int
}{
PyComplex
_
Check
}{
PyObject *p
}
...
...
@@ -580,8 +584,8 @@ parameter and are called with a non-string parameter.
\begin{cvardesc}
{
PyTypeObject
}{
PyString
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python string
type; it is the same object as
\code
{
types.StringType
}
in the Python
layer.
type; it is the same object as
\code
{
str
}
and
\code
{
types.StringType
}
in the Python
layer.
\withsubitem
{
(in module types)
}{
\ttindex
{
StringType
}}
.
\end{cvardesc}
...
...
@@ -850,7 +854,8 @@ Please keep this in mind when writing extensions or interfaces.
\begin{cvardesc}
{
PyTypeObject
}{
PyUnicode
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python Unicode
type.
type. It is exposed to Python code as
\code
{
unicode
}
and
\code
{
types.UnicodeType
}
.
\end{cvardesc}
The following APIs are really C macros and can be used to do fast
...
...
@@ -1623,8 +1628,9 @@ format.
\begin{cvardesc}
{
PyTypeObject
}{
PyBuffer
_
Type
}
The instance of
\ctype
{
PyTypeObject
}
which represents the Python
buffer type; it is the same object as
\code
{
types.BufferType
}
in the
Python layer.
\withsubitem
{
(in module types)
}{
\ttindex
{
BufferType
}}
.
buffer type; it is the same object as
\code
{
buffer
}
and
\code
{
types.BufferType
}
in the Python layer.
\withsubitem
{
(in module types)
}{
\ttindex
{
BufferType
}}
.
\end{cvardesc}
\begin{cvardesc}
{
int
}{
Py
_
END
_
OF
_
BUFFER
}
...
...
@@ -1698,8 +1704,8 @@ format.
\begin{cvardesc}
{
PyTypeObject
}{
PyTuple
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python tuple
type; it is the same object as
\code
{
t
ypes.TupleType
}
in the Python
layer.
\withsubitem
{
(in module types)
}{
\ttindex
{
TupleType
}}
.
type; it is the same object as
\code
{
t
uple
}
and
\code
{
types.TupleType
}
in the Python
layer.
\withsubitem
{
(in module types)
}{
\ttindex
{
TupleType
}}
.
\end{cvardesc}
\begin{cfuncdesc}
{
int
}{
PyTuple
_
Check
}{
PyObject *p
}
...
...
@@ -1795,8 +1801,8 @@ format.
\begin{cvardesc}
{
PyTypeObject
}{
PyList
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python list
type. This is the same object as
\code
{
types.ListType
}
.
\withsubitem
{
(in module types)
}{
\ttindex
{
ListType
}}
type. This is the same object as
\code
{
list
}
and
\code
{
types.ListType
}
in the Python layer.
\withsubitem
{
(in module types)
}{
\ttindex
{
ListType
}}
\end{cvardesc}
\begin{cfuncdesc}
{
int
}{
PyList
_
Check
}{
PyObject *p
}
...
...
@@ -1924,7 +1930,7 @@ format.
\begin{cvardesc}
{
PyTypeObject
}{
PyDict
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python
dictionary type. This is exposed to Python programs as
\code
{
types.DictType
}
and
\code
{
types.Dictionary
Type
}
.
\code
{
dict
}
and
\code
{
types.Dict
Type
}
.
\withsubitem
{
(in module types)
}{
\ttindex
{
DictType
}
\ttindex
{
DictionaryType
}}
\end{cvardesc}
...
...
@@ -2139,7 +2145,8 @@ implementation detail and may change in future releases of Python.
\begin{cvardesc}
{
PyTypeObject
}{
PyFile
_
Type
}
This instance of
\ctype
{
PyTypeObject
}
represents the Python file
type. This is exposed to Python programs as
\code
{
types.FileType
}
.
type. This is exposed to Python programs as
\code
{
file
}
and
\code
{
types.FileType
}
.
\withsubitem
{
(in module types)
}{
\ttindex
{
FileType
}}
\end{cvardesc}
...
...
@@ -2588,7 +2595,7 @@ They are found in the dictionary of type objects.
\begin{cvardesc}
{
PyTypeObject
}{
PySlice
_
Type
}
The type object for slice objects. This is the same as
\code
{
types.SliceType
}
.
\code
{
slice
}
and
\code
{
types.SliceType
}
.
\withsubitem
{
(in module types)
}{
\ttindex
{
SliceType
}}
\end{cvardesc}
...
...
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