[Python-checkins] python/dist/src/Doc/ref ref3.tex, 1.121.2.5, 1.121.2.6
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Thu Aug 25 23:57:00 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19483/Doc/ref
Modified Files:
Tag: release24-maint
ref3.tex
Log Message:
backport bug [ 1261229 ] __new__ is class method
Index: ref3.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref3.tex,v
retrieving revision 1.121.2.5
retrieving revision 1.121.2.6
diff -u -d -r1.121.2.5 -r1.121.2.6
--- ref3.tex 21 Aug 2005 11:27:35 -0000 1.121.2.5
+++ ref3.tex 25 Aug 2005 21:56:49 -0000 1.121.2.6
@@ -1056,7 +1056,7 @@
\begin{methoddesc}[object]{__new__}{cls\optional{, \moreargs}}
Called to create a new instance of class \var{cls}. \method{__new__()}
-is a static method (special-cased so you need not declare it as such)
+is a class method (special-cased so you need not declare it as such)
that takes the class of which an instance was requested as its first
argument. The remaining arguments are those passed to the object
constructor expression (the call to the class). The return value of
More information about the Python-checkins
mailing list