diff options
-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 27e790e560..934b26eb4c 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 |