summaryrefslogtreecommitdiff
path: root/Doc/ref
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-26 12:56:22 +0000
committerGeorg Brandl <georg@python.org>2005-08-26 12:56:22 +0000
commit15ad93556876fc401f244af7b90e2bae9ede1f55 (patch)
tree257097991322ee902c8b1a96b6b522acba0b6390 /Doc/ref
parent5a650a253c89bf6a491fc67c441530969ee4bda8 (diff)
downloadcpython-git-15ad93556876fc401f244af7b90e2bae9ede1f55.tar.gz
__new__ is a static method
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref3.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex
index d95519fb4a..46388b2faa 100644
--- a/Doc/ref/ref3.tex
+++ b/Doc/ref/ref3.tex
@@ -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 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