[docs] A bug in the datetime module documentation
Daniil Shved
danshved at gmail.com
Sun Oct 30 12:59:58 CET 2011
Hi there,
I found what seems to be an error in the python 2.7.2 docs for "datetime"
module:
http://docs.python.org/library/datetime.html?highlight=datetime#tzinfo-objects
In the documentation for method tzinfo.dst(self, dt) there are two code
samples (under "most implementations of dst() will probably look like one
of these two"). In these code samples the method is defined as "def
dst(self):", but it should be "def dst(self, dt)".
--
Dan Shved
danshved at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20111030/03835aac/attachment.html>
More information about the docs
mailing list