[Python-checkins] python/nondist/sandbox/datetime obj_datetimetz.c,1.13,1.14
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
2002年12月14日 01:09:26 -0800
- Previous message: [Python-checkins] python/nondist/sandbox/datetime test_both.py,1.80,1.81
- Next message: [Python-checkins] python/nondist/sandbox/datetime datetime.c,1.69,1.70 obj_date.c,1.52,1.53 obj_datetime.c,1.54,1.55 obj_datetimetz.c,1.14,1.15 obj_time.c,1.14,1.15 obj_timetz.c,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory sc8-pr-cvs1:/tmp/cvs-serv29892
Modified Files:
obj_datetimetz.c
Log Message:
I can't remember what I just changed -- time to sleep.
Index: obj_datetimetz.c
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/obj_datetimetz.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** obj_datetimetz.c 14 Dec 2002 08:03:14 -0000 1.13
--- obj_datetimetz.c 14 Dec 2002 09:09:23 -0000 1.14
***************
*** 1,5 ****
- /* XXX This isn't functional yet, it merely compiles. It's a copy and
- * XXX very light edit of obj_datetime.c.
- */
/*
* PyDateTime_DateTimeTZ implementation.
--- 1,2 ----
***************
*** 373,385 ****
}
- static PyObject *
- datetimetz_ctime(PyDateTime_DateTimeTZ *self)
- {
- return format_ctime((PyDateTime_Date *)self,
- DATE_GET_HOUR(self),
- DATE_GET_MINUTE(self),
- DATE_GET_SECOND(self));
- }
-
/* Miscellaneous methods. */
--- 370,373 ----
***************
*** 527,531 ****
/* Instance methods: */
! /* Inherited: date(), time(). */
{"timetuple", (PyCFunction)datetimetz_timetuple, METH_NOARGS,
PyDoc_STR("Return time tuple, compatible with time.localtime().")},
--- 515,519 ----
/* Instance methods: */
! /* Inherited: date(), time(), ctime(). */
{"timetuple", (PyCFunction)datetimetz_timetuple, METH_NOARGS,
PyDoc_STR("Return time tuple, compatible with time.localtime().")},
***************
*** 534,540 ****
PyDoc_STR("Return timetz object with same hour, minute, second, "
"microsecond, and tzinfo.")},
-
- {"ctime", (PyCFunction)datetimetz_ctime, METH_NOARGS,
- PyDoc_STR("Return ctime() style string.")},
{"isoformat", (PyCFunction)datetimetz_isoformat, METH_KEYWORDS,
--- 522,525 ----
- Previous message: [Python-checkins] python/nondist/sandbox/datetime test_both.py,1.80,1.81
- Next message: [Python-checkins] python/nondist/sandbox/datetime datetime.c,1.69,1.70 obj_date.c,1.52,1.53 obj_datetime.c,1.54,1.55 obj_datetimetz.c,1.14,1.15 obj_time.c,1.14,1.15 obj_timetz.c,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]