summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-01-04 01:25:50 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-01-04 01:25:50 (GMT)
commit48c2eb9165baa370299c2707df2e0280345951e2 (patch)
treeab1eff7b9a372943ba9a1f8439446ec75dd1a6ba
parent5a571639fcd687224f7b8b18093f50368bdced0e (diff)
downloadcpython-48c2eb9165baa370299c2707df2e0280345951e2.zip
cpython-48c2eb9165baa370299c2707df2e0280345951e2.tar.gz
cpython-48c2eb9165baa370299c2707df2e0280345951e2.tar.bz2
Document the NotImplemented object.
-rw-r--r--Doc/ref/ref3.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex
index b8256c3..cd75d0c 100644
--- a/Doc/ref/ref3.tex
+++ b/Doc/ref/ref3.tex
@@ -130,6 +130,15 @@ Its truth value is false.
\ttindex{None}
\obindex{None@{\texttt{None}}}
+\item[NotImplemented]
+This type has a single value. There is a single object with this value.
+This object is accessed through the built-in name \code{NotImplemented}.
+Binary number methods may return this value if they do not implement the
+operation for the types of operands provided. The interpreter will then
+try the reverse operation. Its truth value is true.
+\ttindex{NotImplemented}
+\obindex{NotImplemented@{\texttt{NotImplemented}}}
+
\item[Ellipsis]
This type has a single value. There is a single object with this value.
This object is accessed through the built-in name \code{Ellipsis}.