summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-11-18 10:42:07 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2012-11-18 10:42:07 (GMT)
commitec967246a1cd4665801e5d2bb72fea71a54e481d (patch)
treef8efb5d0ad1ee4fa7ef34c9831299501199aa1df
parenta3f37408da2be22e2294c4bc14d23a66bb7c5570 (diff)
downloadcpython-ec967246a1cd4665801e5d2bb72fea71a54e481d.zip
cpython-ec967246a1cd4665801e5d2bb72fea71a54e481d.tar.gz
cpython-ec967246a1cd4665801e5d2bb72fea71a54e481d.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 30467c8..d989e3f 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -377,7 +377,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