[issue1100942] Add datetime.time.strptime and datetime.date.strptime
Alexander Belopolsky
report at bugs.python.org
Thu Apr 3 23:53:41 CEST 2014
Alexander Belopolsky added the comment:
Is this documentation still valid?
+.. staticmethod:: date.strptime(date_string, format)
+
+ Return a :class:`date` corresponding to *date_string*, parsed according to
+ *format*. This is equivalent to ``date(*(time.strptime(date_string,
+ format)[0:3]))``.
I understand that the latest patch includes checking for time fields in date format.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1100942>
_______________________________________
More information about the Python-bugs-list
mailing list