Skip to content

Commit

Permalink
[MINOR] Fix typo in 'hypot' docstring
Browse files Browse the repository at this point in the history
Minor typo:  docstring for pyspark.sql.functions: hypot has extra characters

N/A

Author: Tristan Reid <treid@netflix.com>

Closes #11616 from tristanreid/master.
  • Loading branch information
tristanreid authored and Andrew Or committed Mar 10, 2016
1 parent 238447d commit 5f7dbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _():
_binary_mathfunctions = {
'atan2': 'Returns the angle theta from the conversion of rectangular coordinates (x, y) to' +
'polar coordinates (r, theta).',
'hypot': 'Computes `sqrt(a^2^ + b^2^)` without intermediate overflow or underflow.',
'hypot': 'Computes `sqrt(a^2 + b^2)` without intermediate overflow or underflow.',
'pow': 'Returns the value of the first argument raised to the power of the second argument.',
}

Expand Down

0 comments on commit 5f7dbdb

Please sign in to comment.