summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-07-30 22:52:41 -0700
committerEric Wieser <wieser.eric@gmail.com>2018-07-30 22:52:41 -0700
commit58df86ae9520dc9c667ff43176a0bd08c565cc3d (patch)
treeda4b0589c1269465e50fbb577b163d4374e3bb0a /numpy/lib/function_base.py
parentdc6b8df8d1025c522a2877bb06547d143f481cc6 (diff)
downloadnumpy-58df86ae9520dc9c667ff43176a0bd08c565cc3d.tar.gz
MAINT: np.angle: Fix type of default argument to match docs
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index ea6339514..a8495519b 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -1309,7 +1309,7 @@ def interp(x, xp, fp, left=None, right=None, period=None):
return interp_func(x, xp, fp, left, right)
-def angle(z, deg=0):
+def angle(z, deg=False):
"""
Return the angle of the complex argument.