summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-05-26 19:12:38 (GMT)
committerGuido van Rossum <guido@python.org>2006-05-26 19:12:38 (GMT)
commit65810fee5e961af07fb964252b794c67162f98ee (patch)
tree7400532588af74faa31a12c31492839ab2e06c9a /Doc
parent2018831b2b2106499a43b37e49e24f7f14154d35 (diff)
downloadcpython-65810fee5e961af07fb964252b794c67162f98ee.zip
cpython-65810fee5e961af07fb964252b794c67162f98ee.tar.gz
cpython-65810fee5e961af07fb964252b794c67162f98ee.tar.bz2
SF patch 1495675: Remove types.InstanceType and new.instance
(Collin Winter)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libnew.tex8
-rw-r--r--Doc/lib/libtypes.tex4
2 files changed, 0 insertions, 12 deletions
diff --git a/Doc/lib/libnew.tex b/Doc/lib/libnew.tex
index 5edc95da..e3f2a49 100644
--- a/Doc/lib/libnew.tex
+++ b/Doc/lib/libnew.tex
@@ -16,14 +16,6 @@ interpreter when the object is used.
The \module{new} module defines the following functions:
-\begin{funcdesc}{instance}{class\optional{, dict}}
-This function creates an instance of \var{class} with dictionary
-\var{dict} without calling the \method{__init__()} constructor. If
-\var{dict} is omitted or \code{None}, a new, empty dictionary is
-created for the new instance. Note that there are no guarantees that
-the object will be in a consistent state.
-\end{funcdesc}
-
\begin{funcdesc}{instancemethod}{function, instance, class}
This function will return a method object, bound to \var{instance}, or
unbound if \var{instance} is \code{None}. \var{function} must be
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex
index 19d2faa..f8f557d 100644
--- a/Doc/lib/libtypes.tex
+++ b/Doc/lib/libtypes.tex
@@ -122,10 +122,6 @@ The type for code objects such as returned by
The type of user-defined classes.
\end{datadesc}
-\begin{datadesc}{InstanceType}
-The type of instances of user-defined classes.
-\end{datadesc}
-
\begin{datadesc}{MethodType}
The type of methods of user-defined class instances.
\end{datadesc}