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`.

Best,

Samuel Marks

----------
assignee: docs@python
components: Documentation
files: Use_`True`_instead_of_`1`_.patch
hgrepos: 229
keywords: patch
messages: 214430
nosy: SamuelMarks, docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21014>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to