summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libnew.tex
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/lib/libnew.tex
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/lib/libnew.tex')
-rw-r--r--Doc/lib/libnew.tex8
1 files changed, 0 insertions, 8 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