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
8d21243c
Kaydet (Commit)
8d21243c
authored
Tem 26, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added description of optional parameter to UserDict constructor.
Omission reported by Barry Warsaw.
üst
7dcc69a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
libuserdict.tex
Doc/lib/libuserdict.tex
+5
-2
No files found.
Doc/lib/libuserdict.tex
Dosyayı görüntüle @
8d21243c
...
@@ -12,10 +12,13 @@ can add new behaviours to dictionaries.
...
@@ -12,10 +12,13 @@ can add new behaviours to dictionaries.
The
\module
{
UserDict
}
module defines the
\class
{
UserDict
}
class:
The
\module
{
UserDict
}
module defines the
\class
{
UserDict
}
class:
\begin{classdesc}
{
UserDict
}{}
\begin{classdesc}
{
UserDict
}{
\optional
{
intialdata
}
}
Return a class instance that simulates a dictionary. The instance's
Return a class instance that simulates a dictionary. The instance's
contents are kept in a regular dictionary, which is accessible via the
contents are kept in a regular dictionary, which is accessible via the
\member
{
data
}
attribute of
\class
{
UserDict
}
instances.
\member
{
data
}
attribute of
\class
{
UserDict
}
instances. If
\var
{
initialdata
}
is provided,
\member
{
data
}
is initialized with its
contents; note that a reference to
\var
{
initialdata
}
will not be kept,
allowing it be used used for other purposes.
\end{classdesc}
\end{classdesc}
In addition to supporting the methods and operations of mappings (see
In addition to supporting the methods and operations of mappings (see
...
...
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