| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2772,9 +2772,9 @@ Boolean values are the two constant objects ``False`` and ``True``. They are | |||
| 2772 | 2772 | used to represent truth values (although other values can also be considered | |
| 2773 | 2773 | false or true). In numeric contexts (for example when used as the argument to | |
| 2774 | 2774 | an arithmetic operator), they behave like the integers 0 and 1, respectively. | |
| 2775 | - The built-in function :func:`bool` can be used to cast any value to a Boolean, | ||
| 2776 | - if the value can be interpreted as a truth value (see section Truth Value | ||
| 2777 | - Testing above). | ||
| 2775 | + The built-in function :func:`bool` can be used to convert any value to a | ||
| 2776 | + Boolean, if the value can be interpreted as a truth value (see section | ||
| 2777 | + :ref:`truth` above). | ||
| 2778 | 2778 | ||
| 2779 | 2779 | .. index:: | |
| 2780 | 2780 | single: False | |
| Back | FazBrowse Home | New Git URL |
0 commit comments