Skip to content

Commit

Permalink
docs: update datetime library documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
howiezhao committed Jul 27, 2022
1 parent b1f648e commit 03515e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ Other constructors, all class methods:
Return a :class:`.datetime` corresponding to *date_string*, parsed according to
*format*.

This is equivalent to::
If the *format* does not contain microseconds or timezone information, this is equivalent to::

datetime(*(time.strptime(date_string, format)[0:6]))

Expand Down

0 comments on commit 03515e9

Please sign in to comment.