Issue #8981: Remove _struct.__version__.
This commit is contained in:
parent
7db923cc99
commit
bfd57618b5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user