diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-26 15:32:03 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-26 15:32:03 (GMT) |
commit | 9f91d35ff39edcfab933fc8cc8a0728fc796e7e6 (patch) | |
tree | 366e3950ac11bca84a0ea292e6f7565673669e7e | |
parent | 131336846c4bd0e9f30c2a4b0b1c690dce57298f (diff) | |
download | cpython-9f91d35ff39edcfab933fc8cc8a0728fc796e7e6.zip cpython-9f91d35ff39edcfab933fc8cc8a0728fc796e7e6.tar.gz cpython-9f91d35ff39edcfab933fc8cc8a0728fc796e7e6.tar.bz2 |
Issue #19794: Improved markup for True/False constants.
-rw-r--r-- | Doc/library/decimal.rst | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index 934b26e..d5ba4f0 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -1226,52 +1226,52 @@ In addition to the three supplied contexts, new contexts can be created with the .. method:: is_canonical(x) - Returns True if *x* is canonical; otherwise returns False. + Returns ``True`` if *x* is canonical; otherwise returns ``False``. .. method:: is_finite(x) - Returns True if *x* is finite; otherwise returns False. + Returns ``True`` if *x* is finite; otherwise returns ``False``. .. method:: is_infinite(x) - Returns True if *x* is infinite; otherwise returns False. + Returns ``True`` if *x* is infinite; otherwise returns ``False``. .. method:: is_nan(x) - Returns True if *x* is a qNaN or sNaN; otherwise returns False. + Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``. .. method:: is_normal(x) - Returns True if *x* is a normal number; otherwise returns False. + Returns ``True`` if *x* is a normal number; otherwise returns ``False``. .. method:: is_qnan(x) - Returns True if *x* is a quiet NaN; otherwise returns False. + Returns ``True`` if *x* is a quiet NaN; otherwise returns ``False``. .. method:: is_signed(x) - Returns True if *x* is negative; otherwise returns False. + Returns ``True`` if *x* is negative; otherwise returns ``False``. .. method:: is_snan(x) - Returns True if *x* is a signaling NaN; otherwise returns False. + Returns ``True`` if *x* is a signaling NaN; otherwise returns ``False``. .. method:: is_subnormal(x) - Returns True if *x* is subnormal; otherwise returns False. + Returns ``True`` if *x* is subnormal; otherwise returns ``False``. .. method:: is_zero(x) - Returns True if *x* is a zero; otherwise returns False. + Returns ``True`` if *x* is a zero; otherwise returns ``False``. .. method:: ln(x) @@ -1431,7 +1431,7 @@ In addition to the three supplied contexts, new contexts can be created with the .. method:: same_quantum(x, y) - Returns True if the two operands have the same exponent. + Returns ``True`` if the two operands have the same exponent. .. method:: scaleb (x, y) |