mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fixed a typo in a comment.
This commit is contained in:
parent
80f1b05971
commit
3fe3e12de6
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ _PyTime_DoubleToTimet(double x)
|
|||
* unreasonable, or the input just doesn't fit in a time_t;
|
||||
* call it an error regardless. Note that the original cast to
|
||||
* time_t can cause a C error too, but nothing we can do to
|
||||
* worm around that.
|
||||
* work around that.
|
||||
*/
|
||||
diff = x - (double)result;
|
||||
if (diff <= -1.0 || diff >= 1.0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue