]> granicus.if.org Git - python/commitdiff
bug [ 1261229 ] __new__ is class method
authorGeorg Brandl <georg@python.org>
Thu, 25 Aug 2005 21:56:45 +0000 (21:56 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 25 Aug 2005 21:56:45 +0000 (21:56 +0000)
Doc/ref/ref3.tex

index 46388b2faaebe3b674dd0bfa1cc97c62b2db4ab6..d95519fb4ab9a03837a8c95c1871e547252a5c09 100644 (file)
@@ -1056,7 +1056,7 @@ extracting a slice may not make sense.  (One example of this is the
 
 \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