[docs] A bug in the datetime module documentation

Sandro Tosi sandro.tosi at gmail.com
Tue Nov 1 10:37:12 CET 2011

Hello Daniil,
thanks for your email.

On Sun, Oct 30, 2011 at 12:59, Daniil Shved <danshved at gmail.com> wrote:
> 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)".

I've just fixed it.

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the docs mailing list