python/dist/src/Doc/ref ref3.tex, 1.121.2.5, 1.121.2.6
![](https://secure.gravatar.com/avatar/cb8fcd8488593ab4d26d4770effab2a5.jpg?s=120&d=mm&r=g)
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
participants (1)
-
birkenfeldīŧ users.sourceforge.net