diff options
author | mattip <matti.picus@gmail.com> | 2019-03-21 13:58:27 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-03-21 13:59:32 +0200 |
commit | d3017129336ba055b3c718ba16ec8333f4947eac (patch) | |
tree | d7dca87f48b79e7846e196c7a63b5c7855042b7c /doc/release | |
parent | 251c526672f897543176b966229ecde96bb89a9d (diff) | |
download | numpy-d3017129336ba055b3c718ba16ec8333f4947eac.tar.gz |
DOC, BUILD: fail the devdoc build if there are warnings
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst index b9b27da79..ccb44d32c 100644 --- a/doc/release/1.17.0-notes.rst +++ b/doc/release/1.17.0-notes.rst @@ -18,11 +18,11 @@ New functions Deprecations ============ -``np.polynomial`` functions warn when passed ``float``s in place of ``int``s ----------------------------------------------------------------------------- -Previously functions in this module would accept ``float``s provided their -values were integral. For consistency with the rest of numpy, doing so is now -deprecated, and in future will raise a ``TypeError``. +``np.polynomial`` functions warn when passed ``float`` in place of ``int`` +-------------------------------------------------------------------------- +Previously functions in this module would accept ``float`` values provided they +were integral (``1.0``, ``2.0``, etc). For consistency with the rest of numpy, +doing so is now deprecated, and in future will raise a ``TypeError``. Similarly, passing a float like ``0.5`` in place of an integer will now raise a ``TypeError`` instead of the previous ``ValueError``. |