[Python-checkins] cpython (2.7): Typo fix.
mark.dickinson
python-checkins at python.org
Sun Nov 18 11:42:58 CET 2012
http://hg.python.org/cpython/rev/6240e78690bd
changeset: 80491:6240e78690bd
branch: 2.7
parent: 80487:290f3b75480f
user: Mark Dickinson <mdickinson at enthought.com>
date: Sun Nov 18 10:41:29 2012 +0000
summary:
Typo fix.
files:
Doc/library/decimal.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -387,7 +387,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list