]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97517: Add documentation links to datetime strftime/strptime docstrings (#138559)
authorMehdi Hassan <44486547+mehdihassan93@users.noreply.github.com>
Mon, 15 Sep 2025 18:50:46 +0000 (19:50 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 18:50:46 +0000 (19:50 +0100)
commitdfd52e7a8b5a7e5a5d64b11742ac7242ec938ede
tree7882792d54426ae94e973ba14284b439480ff1a6
parent537133d2b63611ce1c04aac4c283c932dee9985a
gh-97517: Add documentation links to datetime strftime/strptime docstrings (#138559)

* Add documentation links to datetime strftime/strptime docstrings

- Add links to format codes documentation for all strftime methods
- Add links to format codes documentation for all strptime methods
- Addresses issue #97517

* Update C extension docstrings with format codes documentation

* Regenerate clinic code for updated docstrings

* Add clinic-generated header file for updated docstrings

* Fix docstring spacing consistency in both Python and C files

* Update Lib/_pydatetime.py

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
---------

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Lib/_pydatetime.py
Modules/_datetimemodule.c
Modules/clinic/_datetimemodule.c.h