New submission from Ralph Corderoy <ralph-pythonb...@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

    
http://docs.python.org/library/stdtypes.html?highlight=as_integer_ratio#additional-methods-on-float
    
http://docs.python.org/py3k/library/stdtypes.html?highlight=as_integer_ratio#additional-methods-on-float

Can it please be added, and for Py2, mention what version it appeared in.

----------
assignee: d...@python
components: Documentation
messages: 119133
nosy: d...@python, ralph.corderoy
priority: normal
severity: normal
status: open
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10145>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to