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
c32f71dd
Kaydet (Commit)
c32f71dd
authored
Agu 10, 2007
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix some doc problems.
üst
e1b4a161
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
concrete.tex
Doc/api/concrete.tex
+1
-1
utilities.tex
Doc/api/utilities.tex
+2
-2
No files found.
Doc/api/concrete.tex
Dosyayı görüntüle @
c32f71dd
...
@@ -1013,7 +1013,7 @@ use these APIs:
...
@@ -1013,7 +1013,7 @@ use these APIs:
Create a Unicode object from an UTF-8 encoded null-terminated
Create a Unicode object from an UTF-8 encoded null-terminated
char buffer
\var
{
u
}
.
char buffer
\var
{
u
}
.
\versionadded
{
3.0
}
\versionadded
{
3.0
}
\end{funcdesc}
\end{
c
funcdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyUnicode
_
FromFormat
}{
const char *format, ...
}
\begin{cfuncdesc}
{
PyObject*
}{
PyUnicode
_
FromFormat
}{
const char *format, ...
}
Take a C
\cfunction
{
printf()
}
-style
\var
{
format
}
string and a
Take a C
\cfunction
{
printf()
}
-style
\var
{
format
}
string and a
...
...
Doc/api/utilities.tex
Dosyayı görüntüle @
c32f71dd
...
@@ -429,7 +429,7 @@ whose address should be passed.
...
@@ -429,7 +429,7 @@ whose address should be passed.
\item
[
\samp
{
y
\#
}
(bytes object)
\item
[
\samp
{
y
\#
}
(bytes object)
{
[const char *, int]
}
]
{
[const char *, int]
}
]
This variant on
\samp
{
s#
}
stores into two C variables, the first one
This variant on
\samp
{
s
\
#
}
stores into two C variables, the first one
a pointer to a character string, the second one its length. This only
a pointer to a character string, the second one its length. This only
accepts bytes objects.
accepts bytes objects.
...
@@ -974,7 +974,7 @@ behavior in corner cases, which the Standard C functions do not.
...
@@ -974,7 +974,7 @@ behavior in corner cases, which the Standard C functions do not.
The wrappers ensure that
\var
{
str
}
[
\var
{
size
}
-1] is always
The wrappers ensure that
\var
{
str
}
[
\var
{
size
}
-1] is always
\character
{
\textbackslash
0
}
upon return. They never write more than
\character
{
\textbackslash
0
}
upon return. They never write more than
\var
{
size
}
bytes (including the trailing
\character
{
\textbackslash
0
}
\var
{
size
}
bytes (including the trailing
\character
{
\textbackslash
0
}
)
into str. Both functions require that
\code
{
\var
{
str
}
!= NULL
}
,
into str. Both functions require that
\code
{
\var
{
str
}
!= NULL
}
,
\code
{
\var
{
size
}
> 0
}
and
\code
{
\var
{
format
}
!= NULL
}
.
\code
{
\var
{
size
}
> 0
}
and
\code
{
\var
{
format
}
!= NULL
}
.
...
...
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