[Python-checkins] r81937 - python/branches/py3k/Modules/_struct.c
mark.dickinson
python-checkins at python.org
Sat Jun 12 11:24:02 CEST 2010
Author: mark.dickinson
Date: Sat Jun 12 11:24:01 2010
New Revision: 81937
Log:
Issue #8981: Remove _struct.__version__.
Modified:
python/branches/py3k/Modules/_struct.c
Modified: python/branches/py3k/Modules/_struct.c
==============================================================================
--- python/branches/py3k/Modules/_struct.c (original)
+++ python/branches/py3k/Modules/_struct.c Sat Jun 12 11:24:01 2010
@@ -1965,10 +1965,6 @@
{
PyObject *ver, *m;
- ver = PyBytes_FromString("0.3");
- if (ver == NULL)
- return NULL;
-
m = PyModule_Create(&_structmodule);
if (m == NULL)
return NULL;
@@ -2029,7 +2025,5 @@
Py_INCREF((PyObject*)&PyStructType);
PyModule_AddObject(m, "Struct", (PyObject*)&PyStructType);
- PyModule_AddObject(m, "__version__", ver);
-
return m;
}
More information about the Python-checkins
mailing list