-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
easyextension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.
Description
Documentation
The strftime, strptime and ctime methods of the datetime and time objects have poor docstrings, which makes it near impossible to write code that interacts with them without referring to the online documentation.
The documentation could be improved greatly by adding information on the specifics of the input/output formats, specifically elaborating on the escape sequences used.
Linked PRs
- gh-97517: Improve docstrings for strptime and strftime methods in datetime module #31761
- gh-97517: Add hyperlink to format code information for strftime() and strptime() docstrings. #132375
- gh-97517: Improve doctrings for datetime parsing methods #20677
- gh-97517: Add documentation links to datetime strftime/strptime docstrings #138559
Metadata
Metadata
Assignees
Labels
easyextension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.
Projects
Status
Done