[New-bugs-announce] [issue13494] 'cast' any value to a Boolean?

Mark Dickinson report at bugs.python.org
Mon Nov 28 15:01:08 CET 2011


New submission from Mark Dickinson <dickinsm at gmail.com>:

Docs nit:  at http://docs.python.org/dev/library/stdtypes.html#boolean-values we have

"""
The built-in function bool() can be used to cast any value to a Boolean ...
"""

It's a little unusual to talk about casting in Python.  Any objections to replacing 'cast' with 'convert'?

----------
assignee: docs at python
components: Documentation
messages: 148480
nosy: docs at python, mark.dickinson
priority: normal
severity: normal
status: open
title: 'cast' any value to a Boolean?
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13494>
_______________________________________


More information about the New-bugs-announce mailing list