PEP 495: Mention pure Python datetime.py in the .replace(fold=None) rationale.

This commit is contained in:
Alexander Belopolsky 2015-09-21 13:02:27 -04:00
parent fe56e39ff6
commit 52d1eae40a
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ when ``fold`` is not given. [#]_ If the ``fold`` argument is not
specified, the original value of the ``fold`` attribute is copied to specified, the original value of the ``fold`` attribute is copied to
the result. 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()``. attribute" for all other attributes in ``replace()``.
C-API C-API