gh-155787: Harmonize parameter names in the time module documentation and docstrings - #155790
Conversation
…tation and docstrings Use "seconds" and "time_tuple" in both the documentation and the docstrings, and mark the optional arguments of ctime() and strptime() as optional in the docstrings.
Documentation build overview
4 files changed± library/annotationlib.html± library/audit_events.html± library/time.html± whatsnew/changelog.html |
There was a problem hiding this comment.
Please mark all pos-only parameters.
Co-authored-by: Stan Ulbrych <stan@python.org>
|
Enabled auto merge, thanks for the PR Serhiy. |
|
Thanks @serhiy-storchaka for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
Sorry, @serhiy-storchaka and @StanFromIreland, I could not cleanly backport this to |
|
GH-155804 is a backport of this pull request to the 3.15 branch. |
|
Sorry, @serhiy-storchaka and @StanFromIreland, I could not cleanly backport this to |
|
GH-155806 is a backport of this pull request to the 3.14 branch. |
|
GH-155807 is a backport of this pull request to the 3.13 branch. |
Use
secondsandtime_tuplein both the documentation and the docstrings, and mark the optional arguments ofctime()andstrptime()as optional in the docstrings.