[pywin32-checkins] pywin32/win32/src PyTime.cpp,1.27,1.28
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2009-01-28 10:54:46
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv978/win32/src Modified Files: PyTime.cpp Log Message: autoduck tweaks Index: PyTime.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyTime.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** PyTime.cpp 27 Jan 2009 13:07:19 -0000 1.27 --- PyTime.cpp 28 Jan 2009 10:54:41 -0000 1.28 *************** *** 683,693 **** /////////////////////////////////////////////////////////////////////////// #ifdef PYWIN_HAVE_DATETIME_CAPI - // @object PyDateTime|A Python object, representing an instant in time. - // @comm pywin32 builds for Python 3.0 use datetime objects instead of the - // old PyTime object. - // @comm PyDateTime is a sub-class of the regular datetime.datetime object. - // It is subclassed so it can provide a somewhat backwards compatible - // <om PyDateTime.Format> method, but is otherwise identical. - // @pymethod str|PyDateTime|Format| // @comm This method is an alias for the datetime strftime method, using --- 683,686 ---- *************** *** 713,716 **** --- 706,716 ---- } + // @object PyDateTime|A Python object, representing an instant in time. + // @comm pywin32 builds for Python 3.0 use datetime objects instead of the + // old PyTime object. + // @comm PyDateTime is a sub-class of the regular datetime.datetime object. + // It is subclassed so it can provide a somewhat backwards compatible + // <om PyDateTime.Format> method, but is otherwise identical. + struct PyMethodDef PyWinDateTimeType_methods[] = { {"Format", PyWinDateTimeType_Format, 1}, // @pymeth Format|Formats the time value - an alias for strftime with a default param. |