Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Unified Diff: Modules/_datetimemodule.c

Issue 1824041: Issue #7989: Add pure Python implementation of datetime module to CPython Base URL: http://svn.python.org/view/*checkout*/python/branches/py3k/
Patch Set: Created 14 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_datetime.py ('k') | Modules/datetimemodule.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Modules/_datetimemodule.c
===================================================================
--- Modules/_datetimemodule.c (revision 82659)
+++ Modules/_datetimemodule.c (working copy)
@@ -25,7 +25,7 @@
* final result fits in a C int (this can be an issue on 64-bit boxes).
*/
#if SIZEOF_INT < 4
-# error "datetime.c requires that C int have at least 32 bits"
+# error "_datetime.c requires that C int have at least 32 bits"
#endif
#define MINYEAR 1
@@ -5086,7 +5086,7 @@
static struct PyModuleDef datetimemodule = {
PyModuleDef_HEAD_INIT,
- "datetime",
+ "_datetime",
"Fast implementation of the datetime type.",
-1,
module_methods,
@@ -5097,7 +5097,7 @@
};
PyMODINIT_FUNC
-PyInit_datetime(void)
+PyInit__datetime(void)
{
PyObject *m; /* a module object */
PyObject *d; /* its dict */
« no previous file with comments | « Lib/test/test_datetime.py ('k') | Modules/datetimemodule.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b