Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c42512df
Commit
c42512df
authored
Dec 02, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#13494: merge with 3.2.
parents
a9a2ddf7
c1f26f6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+3
-3
No files found.
Doc/library/stdtypes.rst
View file @
c42512df
...
...
@@ -2772,9 +2772,9 @@ Boolean values are the two constant objects ``False`` and ``True``. They are
used to represent truth values (although other values can also be considered
false or true). In numeric contexts (for example when used as the argument to
an arithmetic operator), they behave like the integers 0 and 1, respectively.
The built-in function :func:`bool` can be used to c
ast any value to a Boolean,
if the value can be interpreted as a truth value (see section Truth Value
Testing
above).
The built-in function :func:`bool` can be used to c
onvert any value to a
Boolean, if the value can be interpreted as a truth value (see section
:ref:`truth`
above).
.. index::
single: False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment