[Python-Dev] timemodule.c, 2.140 (original) (raw)
Jp Calderone exarkun at divmod.com
Sat Jul 24 07:58:14 CEST 2004
- Previous message: [Python-Dev] timemodule.c, 2.140
- Next message: [Python-Dev] timemodule.c, 2.140
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jp Calderone wrote:
time.strftime() in 2.4a0 places more restrictions on its inputs than does the version in 2.3.x. Revision 2.140 seems to be where this was introduced.
I meant to include this example:
import time
now = time.gmtime()
now = now[:-3] + (0, 0, 0)
print time.strftime("", now)
Jp
- Previous message: [Python-Dev] timemodule.c, 2.140
- Next message: [Python-Dev] timemodule.c, 2.140
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]