summaryrefslogtreecommitdiff
path: root/numpy/core/_methods.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-07-05 11:47:29 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-07-05 12:18:26 -0600
commit8b3e9ae5262c1da1118370cd6e83db9b2166952e (patch)
treead552d92d8f806db622da102707571a38faec7c2 /numpy/core/_methods.py
parentc2ae6aa0103aecdb5e2a71504583451cada1bfbc (diff)
downloadnumpy-8b3e9ae5262c1da1118370cd6e83db9b2166952e.tar.gz
STY: PEP8 fixes for numpy/core/*.py
Diffstat (limited to 'numpy/core/_methods.py')
-rw-r--r--numpy/core/_methods.py1
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')