[docs] [issue10145] (4.2).is_integer() is undocumented.
report at bugs.python.org
Tue Oct 19 13:40:40 CEST 2010
New submission from Ralph Corderoy <ralph-pythonbugs at inputplus.co.uk>:
floats now have an is_integer() method. I think it was added in 2.6 around the same time as as_integer_ratio(). It has a docstring but it isn't mentioned in the documentation. I only idled across it when reading the C source. I'd expect to find it, for example, at
Can it please be added, and for Py2, mention what version it appeared in.
assignee: docs at python
nosy: docs at python, ralph.corderoy
title: (4.2).is_integer() is undocumented.
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
Python tracker <report at bugs.python.org>
More information about the docs