diff options
author | Eugene Toder <eltoder@users.noreply.github.com> | 2024-02-12 12:44:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 12:44:56 (GMT) |
commit | 46190d9ea8a878a03d95b4e1bdcdc9ed576cf3fa (patch) | |
tree | be542e7d1de6b9d033110bba25d96306ef1f1ac7 /Lib/test/test_pydoc/pydoc_mod.py | |
parent | 92483b21b30d451586c54dc4923665f7f7eedd7a (diff) | |
download | cpython-46190d9ea8a878a03d95b4e1bdcdc9ed576cf3fa.zip cpython-46190d9ea8a878a03d95b4e1bdcdc9ed576cf3fa.tar.gz cpython-46190d9ea8a878a03d95b4e1bdcdc9ed576cf3fa.tar.bz2 |
gh-89039: Call subclass constructors in datetime.*.replace (GH-114780)
When replace() method is called on a subclass of datetime, date or time,
properly call derived constructor. Previously, only the base class's
constructor was called.
Also, make sure to pass non-zero fold values when creating subclasses in
various methods. Previously, fold was silently ignored.
Diffstat (limited to 'Lib/test/test_pydoc/pydoc_mod.py')
0 files changed, 0 insertions, 0 deletions