Skip to content

Commit 04216da

Browse files
authored
Merge pull request numpy#19695 from ghilesmeddour/topic/fix_typo
DOC: Fix typo in `unwrap` docstring.
2 parents 9e1c34e + a562cb2 commit 04216da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/lib/function_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ def unwrap(p, discont=None, axis=-1, *, period=2*pi):
15121512
difference from their predecessor of more than ``max(discont, period/2)``
15131513
to their `period`-complementary values.
15141514
1515-
For the default case where `period` is :math:`2\pi` and is `discont` is
1515+
For the default case where `period` is :math:`2\pi` and `discont` is
15161516
:math:`\pi`, this unwraps a radian phase `p` such that adjacent differences
15171517
are never greater than :math:`\pi` by adding :math:`2k\pi` for some
15181518
integer :math:`k`.

0 commit comments

Comments
 (0)