]> granicus.if.org Git - python/commitdiff
new section - builtin constants
authorSkip Montanaro <skip@pobox.com>
Wed, 1 Jan 2003 20:33:38 +0000 (20:33 +0000)
committerSkip Montanaro <skip@pobox.com>
Wed, 1 Jan 2003 20:33:38 +0000 (20:33 +0000)
Doc/lib/libconsts.tex [new file with mode: 0644]

diff --git a/Doc/lib/libconsts.tex b/Doc/lib/libconsts.tex
new file mode 100644 (file)
index 0000000..e8e620c
--- /dev/null
@@ -0,0 +1,20 @@
+\section{Builtin Constants}
+
+A small number of constants live in the builtin namespace.  They are:
+
+\begin{datadesc}{False}
+The false value of the \code{bool} type.
+\versionadded{2.3}
+\end{datadesc}
+
+\begin{datadesc}{True}
+The true value of the \code{bool} type.
+\versionadded{2.3}
+\end{datadesc}
+
+\begin{datadesc}{None}
+The sole value of \code{NoneType}.  \code{None} is frequently used to
+represent the absence of a value, as when default arguments are not passed
+to a function.
+\end{datadesc}
+