PEP 495: Corrected the description of an interzone arithmetic paradox.
This commit is contained in:
parent
e2f6146f36
commit
61b77ae6a0
|
@ -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``
|
||||
|
|
Loading…
Reference in New Issue