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
8779f648
Kaydet (Commit)
8779f648
authored
Agu 27, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added descriptions of the t#, w, and w# PyArg_ParseTuple() format
characters; these are the ones for the buffer interface.
üst
7f1fdfcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
ext.tex
Doc/ext/ext.tex
+21
-0
No files found.
Doc/ext/ext.tex
Dosyayı görüntüle @
8779f648
...
@@ -708,6 +708,27 @@ Like \samp{O} but requires that the Python object is a string object.
...
@@ -708,6 +708,27 @@ Like \samp{O} but requires that the Python object is a string object.
Raises a
\exception
{
TypeError
}
exception if the object is not a string
Raises a
\exception
{
TypeError
}
exception if the object is not a string
object. The C variable may also be declared as
\ctype
{
PyObject *
}
.
object. The C variable may also be declared as
\ctype
{
PyObject *
}
.
\item
[\samp{t\#} (read-only character buffer) {[char *, int]
}
]
Like
\samp
{
s
\#
}
, but accepts any object which implements the read-only
buffer interface. The
\ctype
{
char *
}
variable is set to point to the
first byte of the buffer, and the
\ctype
{
int
}
is set to the length of
the buffer. Only single-segment buffer objects are accepted;
\exception
{
TypeError
}
is raised for all others.
\item
[\samp{w} (read-write character buffer) {[char *]
}
]
Similar to
\samp
{
s
}
, but accepts any object which implements the
read-write buffer interface. The caller must determine the length of
the buffer by other means, or use
\samp
{
w
\#
}
instead. Only
single-segment buffer objects are accepted;
\exception
{
TypeError
}
is
raised for all others.
\item
[\samp{w\#} (read-write character buffer) {[char *, int]
}
]
Like
\samp
{
s
\#
}
, but accepts any object which implements the
read-write buffer interface. The
\ctype
{
char *
}
variable is set to
point to the first byte of the buffer, and the
\ctype
{
int
}
is set to
the length of the buffer. Only single-segment buffer objects are
accepted;
\exception
{
TypeError
}
is raised for all others.
\item
[\samp{(\var{items})} (tuple) {[\var{matching-items}]
}
]
\item
[\samp{(\var{items})} (tuple) {[\var{matching-items}]
}
]
The object must be a Python sequence whose length is the number of
The object must be a Python sequence whose length is the number of
format units in
\var
{
items
}
. The C arguments must correspond to the
format units in
\var
{
items
}
. The C arguments must correspond to the
...
...
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