diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-12 09:24:01 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-12 09:24:01 (GMT) |
commit | bfd57618b59eb740d1df573d313369b286510727 (patch) | |
tree | bee31eb6c5d5ae9918dbf2765f8aa85acf0360d8 | |
parent | 7db923cc992eb0af5e6da17df4277a2b802d5c20 (diff) | |
download | cpython-bfd57618b59eb740d1df573d313369b286510727.zip cpython-bfd57618b59eb740d1df573d313369b286510727.tar.gz cpython-bfd57618b59eb740d1df573d313369b286510727.tar.bz2 |
Issue #8981: Remove _struct.__version__.
-rw-r--r-- | Modules/_struct.c | 6 |
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; } |