From 522fce544ef3c4b6e529c80af2fd7facb115c723 Mon Sep 17 00:00:00 2001 From: Shane Date: Wed, 31 Oct 2018 21:52:54 -0400 Subject: [PATCH] add return value which might be 0 (#20657) if the input in abs is 0, then the return can't always be a positive value. 0 is not a positive value --- guide/english/python/abs-function/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/python/abs-function/index.md b/guide/english/python/abs-function/index.md index 1153f27971..c3c6825d56 100644 --- a/guide/english/python/abs-function/index.md +++ b/guide/english/python/abs-function/index.md @@ -9,7 +9,7 @@ It takes one argument `x` - an integer, or decimal, or a complex number. ## Return Value -The return value would be a positive number. Even if complex number is passed, it would return its magnitude, computed as per complex number algebra. +The return value would be a positive number or zero. Even if complex number is passed, it would return its magnitude, computed as per complex number algebra. ## Code Sample ```python