summaryrefslogtreecommitdiffstats
path: root/Modules/_struct.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-12 09:24:01 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-06-12 09:24:01 (GMT)
commitbfd57618b59eb740d1df573d313369b286510727 (patch)
treebee31eb6c5d5ae9918dbf2765f8aa85acf0360d8 /Modules/_struct.c
parent7db923cc992eb0af5e6da17df4277a2b802d5c20 (diff)
downloadcpython-bfd57618b59eb740d1df573d313369b286510727.zip
cpython-bfd57618b59eb740d1df573d313369b286510727.tar.gz
cpython-bfd57618b59eb740d1df573d313369b286510727.tar.bz2
Issue #8981: Remove _struct.__version__.
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r--Modules/_struct.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 87387bd..a9bfee3 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -1965,10 +1965,6 @@ PyInit__struct(void)
{
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 @@ PyInit__struct(void)
Py_INCREF((PyObject*)&PyStructType);
PyModule_AddObject(m, "Struct", (PyObject*)&PyStructType);
- PyModule_AddObject(m, "__version__", ver);
-
return m;
}