summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-01-27 11:00:07 -0800
committerMark Wiebe <mwwiebe@gmail.com>2011-01-27 21:40:15 -0800
commit779b01b039e05150ec21047fc04061fab55e5f42 (patch)
treea8b6a1db994500cb14d3ccb174153268b6a75c8c /numpy/add_newdocs.py
parent2a1706fd84b2970f7ab64d9d46f1c0951eac8cfa (diff)
downloadnumpy-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.py6
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
----------