diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-27 11:00:07 -0800 |
---|---|---|
committer | Mark Wiebe <mwwiebe@gmail.com> | 2011-01-27 21:40:15 -0800 |
commit | 779b01b039e05150ec21047fc04061fab55e5f42 (patch) | |
tree | a8b6a1db994500cb14d3ccb174153268b6a75c8c /numpy/add_newdocs.py | |
parent | 2a1706fd84b2970f7ab64d9d46f1c0951eac8cfa (diff) | |
download | numpy-779b01b039e05150ec21047fc04061fab55e5f42.tar.gz |
WRN: iter: Fix half-float warnings, other small tweaks
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index c3876afb0..095eba15d 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -1239,8 +1239,7 @@ add_newdoc('numpy.core.multiarray', 'promote_types', Returns the data type with the smallest size and smallest scalar kind to which both ``type1`` and ``type2`` may be safely cast. - The returned data type is always in native byte order. Promotion of - string, unicode and void with numbers is disallowed. + The returned data type is always in native byte order. Parameters ---------- @@ -1279,7 +1278,8 @@ add_newdoc('numpy.core.multiarray', 'min_scalar_type', and smallest scalar kind which can hold its value. For non-scalar array ``a``, returns the vector's dtype unmodified. - As a special case, floating point values are not reduced to integers. + As a special case, floating point values are not demoted to integers, + and complex values are not demoted to floats. Parameters ---------- |