[Python-checkins] peps: PEP 495: Corrected the description of an interzone arithmetic paradox.

alexander.belopolsky python-checkins at python.org
Sun Sep 13 05:47:45 CEST 2015


https://hg.python.org/peps/rev/447ed890b416
changeset:   6054:447ed890b416
user:        Alexander Belopolsky <alexander.belopolsky at gmail.com>
date:        Sat Sep 12 23:47:36 2015 -0400
summary:
  PEP 495: Corrected the description of an interzone arithmetic paradox.

files:
  pep-0495.txt |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep-0495.txt b/pep-0495.txt
--- a/pep-0495.txt
+++ b/pep-0495.txt
@@ -433,7 +433,7 @@
 ``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``

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list