diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-07-05 11:47:29 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-07-05 12:18:26 -0600 |
commit | 8b3e9ae5262c1da1118370cd6e83db9b2166952e (patch) | |
tree | ad552d92d8f806db622da102707571a38faec7c2 /numpy/core/_methods.py | |
parent | c2ae6aa0103aecdb5e2a71504583451cada1bfbc (diff) | |
download | numpy-8b3e9ae5262c1da1118370cd6e83db9b2166952e.tar.gz |
STY: PEP8 fixes for numpy/core/*.py
Diffstat (limited to 'numpy/core/_methods.py')
-rw-r--r-- | numpy/core/_methods.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/_methods.py b/numpy/core/_methods.py index 00716e1b4..5fc2bc445 100644 --- a/numpy/core/_methods.py +++ b/numpy/core/_methods.py @@ -58,7 +58,6 @@ def _mean(a, axis=None, dtype=None, out=None, keepdims=False): if rcount == 0: warnings.warn("Mean of empty slice.", RuntimeWarning) - # Cast bool, unsigned int, and int to float64 by default if dtype is None and issubclass(arr.dtype.type, (nt.integer, nt.bool_)): dtype = mu.dtype('f8') |