forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-85432: harmonise parameter names between C and pure-Python i…
…mplementations of `datetime.time.strftime`, `datetime.datetime.fromtimestamp`
- Loading branch information
1 parent
1012dc1
commit bcb065d
Showing
3 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
Misc/NEWS.d/next/Library/2022-12-04-16-12-04.gh-issue-85432.l_ehmI.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Rename the *fmt* parameter of the pure-Python implementation of | ||
:meth:`datetime.time.strftime` to *format*. Rename the *t* parameter of | ||
:meth:`datetime.datetime.fromtimestamp` to *timestamp*. These changes mean | ||
the parameter names in the pure-Python implementation now match the | ||
parameter names in the C implementation. Patch by Alex Waygood. |