PEP 495: Corrected the description of an interzone arithmetic paradox.

This commit is contained in:
Alexander Belopolsky 2015-09-12 23:47:36 -04:00
parent e2f6146f36
commit 61b77ae6a0
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ depend on the values of ``t.fold`` and ``s.fold`` when either
``t.tzinfo`` or ``s.tzinfo`` is post-PEP. [#]_
.. [#] Note that the new rules may result in a paradoxical situation
when ``s == t`` but ``s - t != timedelta(0)``. Such paradoxes are
when ``s == t`` but ``s - u != t - u``. Such paradoxes are
not really new and are inherent in the overloading of the minus
operator as two different intra- and inter-zone operations. For
example, one can easily construct datetime instances ``t`` and ``s``