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
ccf04658
Kaydet (Commit)
ccf04658
authored
Kas 26, 2001
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correctly create new-style classes in the examples
Mention change to _PyTuple_Resize
üst
dc47a89f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
whatsnew22.tex
Doc/whatsnew/whatsnew22.tex
+13
-7
No files found.
Doc/whatsnew/whatsnew22.tex
Dosyayı görüntüle @
ccf04658
...
...
@@ -236,7 +236,7 @@ but not the object itself. Static and class methods are defined like
this:
\begin{verbatim}
class C:
class C
(object)
:
def f(arg1, arg2):
...
f = staticmethod(f)
...
...
@@ -263,7 +263,7 @@ that used this feature might be defined like this:
\begin{verbatim}
from eiffel import eiffelmethod
class C:
class C
(object)
:
def f(self, arg1, arg2):
# The actual function
def pre
_
f(self):
...
...
@@ -375,7 +375,7 @@ example, if you want to define a \member{size} attribute that's
computed, but also settable, you could write:
\begin{verbatim}
class C:
class C
(object)
:
def get
_
size (self):
result = ... computation ...
return result
...
...
@@ -1246,6 +1246,11 @@ affect you very much.
bounds of the buffer used to protect against buffer overruns.
(Contributed by M.-A. Lemburg.)
\item
The
\cfunction
{_
PyTuple
_
Resize()
}
function has lost an unused
parameter, so now it takes 2 parameters instead of 3. The third
argument was never used, and can simply be discarded when porting
code from earlier versions to Python 2.2.
\end{itemize}
...
...
@@ -1404,9 +1409,10 @@ to experiment with these modules can uncomment them manually.
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Fred Bremmer, Keith Briggs, Andrew Dalke, Fred~L. Drake, Jr.,
Carel Fellinger, David Goodger, Mark Hammond, Stephen Hansen, Michael Hudson, Jack
Jansen, Marc-Andr
\'
e Lemburg, Martin von L
\"
owis, Fredrik Lundh,
Michael McLay, Nick Mathewson, Paul Moore, Tim Peters, Jens Quade, Tom
Reinhardt, Neil Schemenauer, Guido van Rossum, Greg Ward.
Carel Fellinger, David Goodger, Mark Hammond, Stephen Hansen, Michael
Hudson, Jack Jansen, Marc-Andr
\'
e Lemburg, Martin von L
\"
owis, Fredrik
Lundh, Michael McLay, Nick Mathewson, Paul Moore, Gustavo Niemeyer,
Don O'Donnell, Tim Peters, Jens Quade, Tom Reinhardt, Neil
Schemenauer, Guido van Rossum, Greg Ward.
\end{document}
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