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
d16ddb61
Kaydet (Commit)
d16ddb61
authored
Ara 13, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Typos reported by Tamito Kajiyama.
üst
f630f6b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ext.tex
Doc/ext.tex
+2
-2
ext.tex
Doc/ext/ext.tex
+2
-2
No files found.
Doc/ext.tex
Dosyayı görüntüle @
d16ddb61
...
@@ -196,7 +196,7 @@ or \code{NULL} if no exception has occurred. You normally don't need
...
@@ -196,7 +196,7 @@ or \code{NULL} if no exception has occurred. You normally don't need
to call
\code
{
PyErr
_
Occurred()
}
to see whether an error occurred in a
to call
\code
{
PyErr
_
Occurred()
}
to see whether an error occurred in a
function call, since you should be able to tell from the return value.
function call, since you should be able to tell from the return value.
When a function
\var
{
f
}
that calls another function var
{
g
}
detects
When a function
\var
{
f
}
that calls another function
\
var
{
g
}
detects
that the latter fails,
\var
{
f
}
should itself return an error value
that the latter fails,
\var
{
f
}
should itself return an error value
(e.g.
\code
{
NULL
}
or
\code
{
-1
}
). It should
\emph
{
not
}
call one of the
(e.g.
\code
{
NULL
}
or
\code
{
-1
}
). It should
\emph
{
not
}
call one of the
\code
{
PyErr
_
*()
}
functions --- one has already been called by
\var
{
g
}
.
\code
{
PyErr
_
*()
}
functions --- one has already been called by
\var
{
g
}
.
...
@@ -305,7 +305,7 @@ passing it the string we just got from \code{PyArg_ParseTuple()}:
...
@@ -305,7 +305,7 @@ passing it the string we just got from \code{PyArg_ParseTuple()}:
sts = system(command);
sts = system(command);
\end{verbatim}
\end{verbatim}
Our
\code
{
spam.system()
}
function must return the value of
\code
{
s
y
s
}
Our
\code
{
spam.system()
}
function must return the value of
\code
{
s
t
s
}
as a Python object. This is done using the function
as a Python object. This is done using the function
\code
{
Py
_
BuildValue()
}
, which is something like the inverse of
\code
{
Py
_
BuildValue()
}
, which is something like the inverse of
\code
{
PyArg
_
ParseTuple()
}
: it takes a format string and an arbitrary
\code
{
PyArg
_
ParseTuple()
}
: it takes a format string and an arbitrary
...
...
Doc/ext/ext.tex
Dosyayı görüntüle @
d16ddb61
...
@@ -196,7 +196,7 @@ or \code{NULL} if no exception has occurred. You normally don't need
...
@@ -196,7 +196,7 @@ or \code{NULL} if no exception has occurred. You normally don't need
to call
\code
{
PyErr
_
Occurred()
}
to see whether an error occurred in a
to call
\code
{
PyErr
_
Occurred()
}
to see whether an error occurred in a
function call, since you should be able to tell from the return value.
function call, since you should be able to tell from the return value.
When a function
\var
{
f
}
that calls another function var
{
g
}
detects
When a function
\var
{
f
}
that calls another function
\
var
{
g
}
detects
that the latter fails,
\var
{
f
}
should itself return an error value
that the latter fails,
\var
{
f
}
should itself return an error value
(e.g.
\code
{
NULL
}
or
\code
{
-1
}
). It should
\emph
{
not
}
call one of the
(e.g.
\code
{
NULL
}
or
\code
{
-1
}
). It should
\emph
{
not
}
call one of the
\code
{
PyErr
_
*()
}
functions --- one has already been called by
\var
{
g
}
.
\code
{
PyErr
_
*()
}
functions --- one has already been called by
\var
{
g
}
.
...
@@ -305,7 +305,7 @@ passing it the string we just got from \code{PyArg_ParseTuple()}:
...
@@ -305,7 +305,7 @@ passing it the string we just got from \code{PyArg_ParseTuple()}:
sts = system(command);
sts = system(command);
\end{verbatim}
\end{verbatim}
Our
\code
{
spam.system()
}
function must return the value of
\code
{
s
y
s
}
Our
\code
{
spam.system()
}
function must return the value of
\code
{
s
t
s
}
as a Python object. This is done using the function
as a Python object. This is done using the function
\code
{
Py
_
BuildValue()
}
, which is something like the inverse of
\code
{
Py
_
BuildValue()
}
, which is something like the inverse of
\code
{
PyArg
_
ParseTuple()
}
: it takes a format string and an arbitrary
\code
{
PyArg
_
ParseTuple()
}
: it takes a format string and an arbitrary
...
...
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