Small error in the time library documentation.

Hi, I've found what looks like a bug in the docs for the time library. In the struct_time description, under tm_sec, the documentation refers the reader to note 1 under strftime(). I believe the intent was to refer to note 2, which discusses the behavior of leap seconds. (Note 1 has to do with format strings, which is relevant to strftime() but not to struct_time.tm_sec.) Thanks, Fizz

Hello, thanks for your email On Wed, Apr 18, 2012 at 19:50, Fizz <relsqui@chiliahedron.com> wrote:
Hi,
I've found what looks like a bug in the docs for the time library. In the struct_time description, under tm_sec, the documentation refers the reader to note 1 under strftime(). I believe the intent was to refer to note 2, which discusses the behavior of leap seconds. (Note 1 has to do with format strings, which is relevant to strftime() but not to struct_time.tm_sec.)
Thanks this has now fixed: http://hg.python.org/cpython/rev/4b101df1e9f7 (python 3.* already references the correct footnote) Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
participants (2)
-
Fizz
-
Sandro Tosi