[Python-checkins] peps: PEP 495: Corrected a typo. Thanks Carl Meyer.

alexander.belopolsky python-checkins at python.org
Mon Sep 21 19:33:27 CEST 2015


https://hg.python.org/peps/rev/1cc04cae951f
changeset: 6089:1cc04cae951f
user: Alexander Belopolsky <alexander.belopolsky at gmail.com>
date: Mon Sep 21 13:33:12 2015 -0400
summary:
 PEP 495: Corrected a typo. Thanks Carl Meyer.
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
@@ -230,7 +230,7 @@
 datetime.fromtimestamp(s0) == datetime.fromtimestamp(s1) == dt
 
 In this case, ``dt.timestamp()`` will return the smaller of ``s0``
-and ``s1`` values if ``dt.fold == True`` and the larger otherwise.
+and ``s1`` values if ``dt.fold == 0`` and the larger otherwise.
 
 
 For example, on a system set to US/Eastern timezone::
-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /