python/dist/src/Doc/ref ref3.tex, 1.121.2.6, 1.121.2.7
![](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-serv30824/Doc/ref Modified Files: Tag: release24-maint ref3.tex Log Message: __new__ is a static method Index: ref3.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref3.tex,v retrieving revision 1.121.2.6 retrieving revision 1.121.2.7 diff -u -d -r1.121.2.6 -r1.121.2.7 --- ref3.tex 25 Aug 2005 21:56:49 -0000 1.121.2.6 +++ ref3.tex 26 Aug 2005 12:56:17 -0000 1.121.2.7 @@ -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 class method (special-cased so you need not declare it as such) +is a static 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