[Python-checkins] r64745 - python/trunk/Modules/timemodule.c

facundo.batista python-checkins at python.org
Sat Jul 5 21:19:50 CEST 2008


Author: facundo.batista
Date: Sat Jul 5 21:19:50 2008
New Revision: 64745
Log:
Issue 3289. Removed two lines that ended doing nothing.
Modified:
 python/trunk/Modules/timemodule.c
Modified: python/trunk/Modules/timemodule.c
==============================================================================
--- python/trunk/Modules/timemodule.c	(original)
+++ python/trunk/Modules/timemodule.c	Sat Jul 5 21:19:50 2008
@@ -600,8 +600,6 @@
 {
 	struct tm buf;
 	time_t tt;
-	tt = time(&tt);
-	buf = *localtime(&tt);
 	if (!gettmarg(tup, &buf))
 		return NULL;
 	tt = mktime(&buf);


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /