diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/decimal.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index aa9b1e3..462d10a 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -412,7 +412,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 |