summaryrefslogtreecommitdiffstats
path: root/Doc/library/decimal.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 21:17:04 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 21:17:04 (GMT)
commit36ab1ef8ee1006596937198e8f149e09ae8a6139 (patch)
tree604584365c107dcb5880f06d43b58f7580c55010 /Doc/library/decimal.rst
parent45f53370e7724282f136db6e547cf48b79f9186b (diff)
downloadcpython-36ab1ef8ee1006596937198e8f149e09ae8a6139.zip
cpython-36ab1ef8ee1006596937198e8f149e09ae8a6139.tar.gz
cpython-36ab1ef8ee1006596937198e8f149e09ae8a6139.tar.bz2
Merged revisions 68219 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68219 | georg.brandl | 2009-01-03 21:47:01 +0100 (Sat, 03 Jan 2009) | 2 lines Fix uses of the default role. ........
Diffstat (limited to 'Doc/library/decimal.rst')
-rw-r--r--Doc/library/decimal.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index abf4ec5..3d84f8c 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -1114,7 +1114,7 @@ In addition to the three supplied contexts, new contexts can be created with the
.. method:: logical_and(x, y)
- Applies the logical operation `and` between each operand's digits.
+ Applies the logical operation *and* between each operand's digits.
.. method:: logical_invert(x)
@@ -1124,12 +1124,12 @@ In addition to the three supplied contexts, new contexts can be created with the
.. method:: logical_or(x, y)
- Applies the logical operation `or` between each operand's digits.
+ Applies the logical operation *or* between each operand's digits.
.. method:: logical_xor(x, y)
- Applies the logical operation `xor` between each operand's digits.
+ Applies the logical operation *xor* between each operand's digits.
.. method:: max(x, y)
@@ -1237,8 +1237,8 @@ In addition to the three supplied contexts, new contexts can be created with the
.. method:: remainder_near(x, y)
- Returns `x - y * n`, where *n* is the integer nearest the exact value
- of `x / y` (if the result is `0` then its sign will be the sign of *x*).
+ Returns ``x - y * n``, where *n* is the integer nearest the exact value
+ of ``x / y`` (if the result is 0 then its sign will be the sign of *x*).
.. method:: rotate(x, y)