diff options
| author | Raymond Hettinger <python@rcn.com> | 2014-03-28 16:39:25 -0700 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2014-03-28 16:39:25 -0700 |
| commit | 4ab532bbfeb6dd6c9804996e19b665b22de65d56 (patch) | |
| tree | a8a3577c7e4160ad53768e56b0b9e3485df85ca4 /Doc/tutorial | |
| parent | 938134394837f3cac1f8cbe3c3bf4f53c5ce0379 (diff) | |
| download | cpython-git-4ab532bbfeb6dd6c9804996e19b665b22de65d56.tar.gz | |
Issue 21014: Use booleans instead of 0 and 1 in examples.
Diffstat (limited to 'Doc/tutorial')
| -rw-r--r-- | Doc/tutorial/interpreter.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 9ab77f8009..8e8395a349 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -106,7 +106,7 @@ before printing the first prompt:: Continuation lines are needed when entering a multi-line construct. As an example, take a look at this :keyword:`if` statement:: - >>> the_world_is_flat = 1 + >>> the_world_is_flat = True >>> if the_world_is_flat: ... print("Be careful not to fall off!") ... |
