mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Typo fix.
This commit is contained in:
parent
0d18731815
commit
3c9181b927
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ Decimal objects
|
||||||
|
|
||||||
The integer division operator ``//`` behaves analogously, returning the
|
The integer division operator ``//`` behaves analogously, returning the
|
||||||
integer part of the true quotient (truncating towards zero) rather than its
|
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
|
>>> -7 // 4
|
||||||
-2
|
-2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue