New submission from Michael Stephens <m...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7699>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to