File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- \section {Builtin Constants }
1+ \section {Built-in Constants }
22
3- A small number of constants live in the builtin namespace. They are:
3+ A small number of constants live in the built-in namespace. They are:
44
55\begin {datadesc }{False}
6- The false value of the \code {bool} type.
7- \versionadded {2.3}
6+ The false value of the \class {bool} type.
7+ \versionadded {2.3}
88\end {datadesc }
99
1010\begin {datadesc }{True}
11- The true value of the \code {bool} type.
12- \versionadded {2.3}
11+ The true value of the \class {bool} type.
12+ \versionadded {2.3}
1313\end {datadesc }
1414
1515\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.
16+ The sole value of \code {\refmodule {types}. NoneType}. \code {None} is
17+ frequently used to represent the absence of a value, as when default
18+ arguments are not passed to a function.
1919\end {datadesc }
2020
21+ \begin {datadesc }{NotImplemented}
22+ Special value which can be returned by the `` rich comparison''
23+ special methods (\method {__eq__()}, \method {__lt__()}, and friends),
24+ to indicate that the comparison is not implemented with respect to
25+ the other type.
26+ \end {datadesc }
27+
28+ \begin {datadesc }{Ellipsis}
29+ Special value used in conjunction with extended slicing syntax.
30+ % XXX Someone who understands extended slicing should fill in here.
31+ \end {datadesc }
You can’t perform that action at this time.
0 commit comments