Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17804b1

Browse files
author
Skip Montanaro
committed
new section - builtin constants
1 parent 2cfc472 commit 17804b1

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Doc/lib/libconsts.tex

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
\section{Builtin Constants}
2+
3+
A small number of constants live in the builtin namespace. They are:
4+
5+
\begin{datadesc}{False}
6+
The false value of the \code{bool} type.
7+
\versionadded{2.3}
8+
\end{datadesc}
9+
10+
\begin{datadesc}{True}
11+
The true value of the \code{bool} type.
12+
\versionadded{2.3}
13+
\end{datadesc}
14+
15+
\begin{datadesc}{None}
16+
The sole value of \code{NoneType}. \code{None} is frequently used to
17+
represent the absence of a value, as when default arguments are not passed
18+
to a function.
19+
\end{datadesc}
20+

0 commit comments

Comments
 (0)