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
f40aed93
Kaydet (Commit)
f40aed93
authored
Tem 06, 2006
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the Struture and Union constructors.
üst
5becdbee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
libctypes.tex
Doc/lib/libctypes.tex
+7
-0
No files found.
Doc/lib/libctypes.tex
Dosyayı görüntüle @
f40aed93
...
...
@@ -2389,6 +2389,13 @@ the fields of the base class. If the subclass definition has a
separate
\member
{{
\_
}
fields
{
\_
}}
variable, the fields specified in this are
appended to the fields of the base class.
Structure and union constructors accept both positional and
keyword arguments. Positional arguments are used to initialize member
fields in the same order as they are appear in
\member
{{
\_
}
fields
{
\_
}}
. Keyword
arguments in the constructor are interpreted as attribute assignments,
so they will initialize
\member
{{
\_
}
fields
{
\_
}}
with the same name, or create new
attributes for names not present in
\member
{{
\_
}
fields
{
\_
}}
.
\subsubsection
{
Arrays and pointers
\label
{
ctypes-arrays-pointers
}}
...
...
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