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
fdf65d91
Kaydet (Commit)
fdf65d91
authored
Ock 03, 2003
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Grammatical fix: change possessive "it's" to "its".
üst
8fa8972d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
newtypes.tex
Doc/ext/newtypes.tex
+3
-3
No files found.
Doc/ext/newtypes.tex
Dosyayı görüntüle @
fdf65d91
...
...
@@ -198,7 +198,7 @@ oppourtunity --- in \cfunction{initnoddy()}.
0, /* ob
_
size */
\end{verbatim}
The
\member
{
ob
_
size
}
field of the header is not used; it
'
s presence in
The
\member
{
ob
_
size
}
field of the header is not used; its presence in
the type structure is a historical artifact that is maintained for
binary compatibility with extension modules compiled for older
versions of Python. Always set this field to zero.
...
...
@@ -442,7 +442,7 @@ uniquely-identifying value for the object.
The
\member
{
tp
_
str
}
handler is to
\function
{
str
()
}
what the
\member
{
tp
_
repr
}
handler described above is to
\function
{
repr
()
}
; that
is, it is called when Python code calls
\function
{
str
()
}
on an
instance of your object. It
'
s implementation is very similar to the
instance of your object. Its implementation is very similar to the
\member
{
tp
_
repr
}
function, but the resulting string is intended for
human consumption. If
\member
{
tp
_
str
}
is not specified, the
\member
{
tp
_
repr
}
handler is used instead.
...
...
@@ -880,7 +880,7 @@ XXX some fields need to be added here...
\end
{
verbatim
}
These functions provide support for the iterator protocol. Any object
which wishes to support iteration over it
'
s contents
(
which may be
which wishes to support iteration over its contents
(
which may be
generated during iteration
)
must implement the
\code
{
tp
_
iter
}
handler. Objects which are returned by a
\code
{
tp
_
iter
}
handler must
implement both the
\code
{
tp
_
iter
}
and
\code
{
tp
_
iternext
}
handlers.
...
...
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