[docs] [issue8822] datetime naive and aware types should have a well-defined definition that can be cross-referenced

Jakob Malm report at bugs.python.org
Mon Sep 12 21:35:40 CEST 2011


Jakob Malm <jakob.malm at gmail.com> added the comment:

I agree with Alexander -- I think the current documentation is sufficient to describe 'naive' and 'aware' date and time objects.

The sentence "There are two kinds of date and time objects: “naive” and “aware”." is perhaps a bit unfortunate, however. It appears that Anatoly had misinterpreted 'naive' and 'aware' objects to be of different Python types:

> 'naive' and 'aware' are key datetime types

Perhaps the sentence could be changed to something like:

"date and time objects are either 'naive' or 'aware'.

----------
nosy: +shaq

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


More information about the docs mailing list