[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-10-02 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +21510 pull_request: https://github.com/python/cpython/pull/22477 ___ Python tracker ___

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-06-07 Thread Edison Abahurire
Edison Abahurire added the comment: Update: I opened a PR for this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-06-06 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +19892 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20677 ___ Python tracker

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-17 Thread Edison Abahurire
Edison Abahurire added the comment: Oh! I realized that statement is there because the strftime method used is inherited from the date class. -- ___ Python tracker ___

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-17 Thread Edison Abahurire
Edison Abahurire added the comment: Hi, An enquiry here: On the web documentation of strftime (https://docs.python.org/3/library/datetime.html?highlight=strftime#datetime.time.strftime), What does this mean? "Format codes referring to hours, minutes or seconds will see 0 values."

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-17 Thread Edison Abahurire
Edison Abahurire added the comment: Thanks for the review @p-ganssle. I'll request that you assign it to me, counting on your guidance while changing it in the C implementation. -- ___ Python tracker

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-16 Thread Paul Ganssle
Paul Ganssle added the comment: I agree, this can be improved (particularly the first one). I believe we'll need to change it in the C implementation as well as the pure python version. That said, the most useful thing for users would be a full formatting reference, which is too much to put

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-16 Thread Edison Abahurire
New submission from Edison Abahurire : The docstring for strftime is: ```def strftime(self, fmt): "Format using strftime()." ``` And that of strptime: def strptime(cls, date_string, format): 'string, format -> new datetime parsed from a string (like