time.mktime bug in 2.0?

wmiller34 at my-deja.com wmiller34 at my-deja.com
Wed Jan 3 12:13:38 EST 2001


that works!  thanks for the quick response.  I have been coding it
wrong all along but in 1.52 it somehow still works.


In article <mailman.978540004.4337.python-list at python.org>,
  "Jeff Collins" <jcollins at endtech.com> wrote:
>
> The argument is a 9-tuple:
>
> time.mktime((1999,12,21,0,0,0,0,0,0))
>
> On Wed, 3 Jan 2001 wmiller34 at my-deja.com wrote:
>
> > I'm getting this "TypeError" when I use mktime in 2.0.  It works in
> > 1.52.  Any ideas?
> >
> > >>> import time
> > >>> t = time.mktime(1999,12,21,0,0,0,0,0,0)
> > Traceback (innermost last):
> >   File "<interactive input>", line 1, in ?
> > TypeError: mktime requires exactly 1 argument; 9 given
> >
> >
> > -Walter
> >
> >
> > Sent via Deja.com
> > http://www.deja.com/
> >
>
> --
> Jeffery D. Collins, Ph.D.
> Sr. Software Developer
> Endeavors Technology, Inc.
>
>


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list