New submission from Nicholas Colclasure:

The datetime.datetime.strptime documentation states that it is equivalent to 
datetime(*(time.strptime(date_string, format)[0:6])), but the time.struct_time 
returned by time.strptime does not include microseconds, implying that 
datetime's strptime would also not include microseconds, but testing of the 
functions shows that it does include them.

Removing the false statement of equivalence would be enough to remove this bug 
from the documentation.

----------
assignee: docs@python
components: Documentation
messages: 272474
nosy: Valectar, docs@python
priority: normal
severity: normal
status: open
title: datetime.datetime.strptime functionality description incorrect
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to