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
2836907b
Kaydet (Commit)
2836907b
authored
Eki 29, 2001
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix some markup errors noted by MH
Use attribute assignment to illustrate __slots__ raising an error
üst
afe7a940
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
whatsnew22.tex
Doc/whatsnew/whatsnew22.tex
+5
-5
No files found.
Doc/whatsnew/whatsnew22.tex
Dosyayı görüntüle @
2836907b
...
@@ -321,12 +321,12 @@ complicated to explain, but does the right thing in this situation.
...
@@ -321,12 +321,12 @@ complicated to explain, but does the right thing in this situation.
\item
List all the base classes, following the classic lookup rule and
\item
List all the base classes, following the classic lookup rule and
include a class multiple times if it's visited repeatedly. In the
include a class multiple times if it's visited repeatedly. In the
above example, the list of visited classes is [
\class
{
D
}
,
\class
{
B
}
,
above example, the list of visited classes is [
\class
{
D
}
,
\class
{
B
}
,
\class
{
A
}
,
\class
{
C
}
, class
{
A
}
].
\class
{
A
}
,
\class
{
C
}
,
\
class
{
A
}
].
\item
Scan the list for duplicated classes. If any are found, remove
\item
Scan the list for duplicated classes. If any are found, remove
all but one occurrence, leaving the
\emph
{
last
}
one in the list. In
all but one occurrence, leaving the
\emph
{
last
}
one in the list. In
the above example, the list becomes [
\class
{
D
}
,
\class
{
B
}
,
\class
{
C
}
,
the above example, the list becomes [
\class
{
D
}
,
\class
{
B
}
,
\class
{
C
}
,
class
{
A
}
] after dropping duplicates.
\
class
{
A
}
] after dropping duplicates.
\end{enumerate}
\end{enumerate}
...
@@ -417,10 +417,10 @@ this clear:
...
@@ -417,10 +417,10 @@ this clear:
>>> obj = C()
>>> obj = C()
>>> print obj.template
>>> print obj.template
None
None
>>> obj.template = 'Test'
; obj.name = 'abc'
>>> obj.template = 'Test'
>>> print obj.template
>>> print obj.template
Test
Test
>>> obj.templtae
>>> obj.templtae
= None
Traceback (most recent call last):
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "<stdin>", line 1, in ?
AttributeError: 'C' object has no attribute 'templtae'
AttributeError: 'C' object has no attribute 'templtae'
...
@@ -1361,7 +1361,7 @@ to experiment with these modules can uncomment them manually.
...
@@ -1361,7 +1361,7 @@ to experiment with these modules can uncomment them manually.
The author would like to thank the following people for offering
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
suggestions, corrections and assistance with various drafts of this
article: Fred Bremmer, Keith Briggs, Andrew Dalke, Fred~L. Drake, Jr.,
article: Fred Bremmer, Keith Briggs, Andrew Dalke, Fred~L. Drake, Jr.,
Carel Fellinger, Mark Hammond, Stephen Hansen, Jack Jansen,
Carel Fellinger, Mark Hammond, Stephen Hansen,
Michael Hudson,
Jack Jansen,
Marc-Andr
\'
e Lemburg, Fredrik Lundh, Tim Peters, Tom Reinhardt, Neil
Marc-Andr
\'
e Lemburg, Fredrik Lundh, Tim Peters, Tom Reinhardt, Neil
Schemenauer, Guido van Rossum.
Schemenauer, Guido van Rossum.
...
...
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