summaryrefslogtreecommitdiff
path: root/numpy/lib/scimath.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
commitfbd6510d58a47ea0d166c48a82793f05425406e4 (patch)
tree330ce703eb02d20f96099c3fe0fc36ae33d4905b /numpy/lib/scimath.py
parent8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (diff)
downloadnumpy-fbd6510d58a47ea0d166c48a82793f05425406e4.tar.gz
STY: Giant comma spacing fixup.
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
Diffstat (limited to 'numpy/lib/scimath.py')
-rw-r--r--numpy/lib/scimath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/scimath.py b/numpy/lib/scimath.py
index 2aa08d0ea..3da86d9c8 100644
--- a/numpy/lib/scimath.py
+++ b/numpy/lib/scimath.py
@@ -17,7 +17,7 @@ correctly handled. See their respective docstrings for specific examples.
"""
from __future__ import division, absolute_import, print_function
-__all__ = ['sqrt', 'log', 'log2', 'logn','log10', 'power', 'arccos',
+__all__ = ['sqrt', 'log', 'log2', 'logn', 'log10', 'power', 'arccos',
'arcsin', 'arctanh']
import numpy.core.numeric as nx
@@ -84,7 +84,7 @@ def _tocomplex(arr):
array([ 1.+0.j, 2.+0.j, 3.+0.j], dtype=complex64)
"""
if issubclass(arr.dtype.type, (nt.single, nt.byte, nt.short, nt.ubyte,
- nt.ushort,nt.csingle)):
+ nt.ushort, nt.csingle)):
return arr.astype(nt.csingle)
else:
return arr.astype(nt.cdouble)