Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2f9c986b46cd by Ezio Melotti in branch '2.7':
#13494: s/cast/convert/. Also add a link.
http://hg.python.org/cpython/rev/2f9c986b46cd
New changeset 69369fd3514b by Ezio Melotti in branch '3.2':
#13494:
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed!
@Eli
At least in the doc, I haven't seen any other suspicious use of 'cast'.
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
New submission from Mark Dickinson dicki...@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
Ezio Melotti ezio.melo...@gmail.com added the comment:
+1
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13494
___
Meador Inge mead...@gmail.com added the comment:
+1
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13494
___
___
Eli Bendersky eli...@gmail.com added the comment:
'bool' is just one of many conversion functions that convert their argument to
the type they designate. Does this doc problem only exist for 'bool' or also
for 'int', 'float' and others?
--
nosy: +eli.bendersky