[Python-checkins] peps: PEP 495: Mention pure Python datetime.py in the .replace(fold=None) rationale.
alexander.belopolsky
python-checkins at python.org
Mon Sep 21 19:02:32 CEST 2015
https://hg.python.org/peps/rev/ed5764395275
changeset: 6088:ed5764395275
user: Alexander Belopolsky <alexander.belopolsky at gmail.com>
date: Mon Sep 21 13:02:27 2015 -0400
summary:
PEP 495: Mention pure Python datetime.py in the .replace(fold=None) rationale.
files:
pep-0495.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pep-0495.txt b/pep-0495.txt
--- a/pep-0495.txt
+++ b/pep-0495.txt
@@ -126,7 +126,8 @@
specified, the original value of the ``fold`` attribute is copied to
the result.
-.. [#] PyPy already allows ``None`` to mean "no change to existing
+.. [#] PyPy and pure Python implementation distributed with CPython
+ already allow ``None`` to mean "no change to existing
attribute" for all other attributes in ``replace()``.
C-API
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list