[docs] [issue27741] datetime.datetime.strptime functionality description incorrect

Tal Einat report at bugs.python.org
Fri Oct 19 02:46:29 EDT 2018


Tal Einat <taleinat at gmail.com> added the comment:

I agree with Gus, such new wording would be great. Gus, would you like to make a PR?

I'd split the comparison into a second paragraph, and avoid the word "better", instead using something like "but datetime.strptime() also retains both microseconds and timezone data."

Note that such a change of the wording to "similar" rather than "equivalent" will also future-proof this wording from minor future changes to either function.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27741>
_______________________________________


More information about the docs mailing list