summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-11-18 10:41:29 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2012-11-18 10:41:29 (GMT)
commit3c9181b927d69ad706ae9af16ce9e74a7dfc86f1 (patch)
treea68d855d71d8ae189b2baf447512ab8ec2d5dc30
parent0d187318156f21b99868d1a901b8b343128b9f64 (diff)
downloadcpython-3c9181b927d69ad706ae9af16ce9e74a7dfc86f1.zip
cpython-3c9181b927d69ad706ae9af16ce9e74a7dfc86f1.tar.gz
cpython-3c9181b927d69ad706ae9af16ce9e74a7dfc86f1.tar.bz2
Typo fix.
-rw-r--r--Doc/library/decimal.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 27e790e..934b26e 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -387,7 +387,7 @@ Decimal objects
The integer division operator ``//`` behaves analogously, returning the
integer part of the true quotient (truncating towards zero) rather than its
- floor, so as to preseve the usual identity ``x == (x // y) * y + x % y``::
+ floor, so as to preserve the usual identity ``x == (x // y) * y + x % y``::
>>> -7 // 4
-2