[Python-checkins] python/dist/src/Doc/ref ref3.tex,1.127,1.128
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Fri Aug 26 14:56:32 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30810/Doc/ref
Modified Files:
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.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- ref3.tex 25 Aug 2005 21:56:45 -0000 1.127
+++ ref3.tex 26 Aug 2005 12:56:22 -0000 1.128
@@ -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
More information about the Python-checkins
mailing list