[docs] [issue21014] `1` => `True`; for tutorial docs

Samuel Marks report at bugs.python.org
Sat Mar 22 02:59:16 CET 2014

New submission from Samuel Marks:

Particularly for new programmers `True` makes more sense than `1` when doing boolean logic.

If you aren't going to accept this patch; at least add in a sentence explaining that: `> 1 == True`.


Samuel Marks

assignee: docs at python
components: Documentation
files: Use_`True`_instead_of_`1`_.patch
hgrepos: 229
keywords: patch
messages: 214430
nosy: SamuelMarks, docs at python
priority: normal
severity: normal
status: open
title: `1` => `True`; for tutorial docs
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file34559/Use_`True`_instead_of_`1`_.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list