[New-bugs-announce] [issue7699] strptime, strftime documentation

Michael Stephens report at bugs.python.org
Thu Jan 14 02:46:02 CET 2010


New submission from Michael Stephens <me at mikej.st>:

The documentation for strftime and strptime behavior strikes me as a bit jumbled right now. The behavior of datetime.datetime.strptime is explained by a reference to time.strptime, which in turn references time.strftime to explain the format string.

The docs for the datetime.{datetime,date,time}.strftime methods, on the other hand, reference the 'strftime Behavior' section of the datetime module docs to explain the behavior of the format string. This section even notes the differences between strptime and strftime behavior.

I've tried to clear this up a little bit by renaming this section 'strftime and strptime Behavior' and referencing it from the datetime.datetime.strptime docs.

----------
assignee: georg.brandl
components: Documentation
files: strptime.diff
keywords: patch
messages: 97748
nosy: georg.brandl, mikejs
severity: normal
status: open
title: strptime, strftime documentation
versions: Python 2.7
Added file: http://bugs.python.org/file15866/strptime.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7699>
_______________________________________


More information about the New-bugs-announce mailing list