cpython/Misc/NEWS.d/next/Library/2023-12-09-23-31-17.gh-issue-112919.S5k9QN.rst
Eugene Toder 1f515e8a10
gh-112919: Speed-up datetime, date and time.replace() (GH-112921)
Use argument clinic and call new_* functions directly. This speeds up
these functions 6x to 7.5x when calling with keyword arguments.
2024-01-30 15:19:46 +00:00

2 lines
109 B
ReStructuredText

Speed-up :func:`datetime.datetime.replace`, :func:`datetime.date.replace` and
:func:`datetime.time.replace`.