summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/decimal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 4557e6a8f1..2f2a617724 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -634,10 +634,10 @@ class Decimal(object):
return 0
def __bool__(self):
- """Is the number non-zero?
+ """return True if the number is non-zero.
- 0 if self == 0
- 1 if self != 0
+ False if self == 0
+ True if self != 0
"""
if self._is_special:
return True