summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-01 01:52:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-06-01 01:52:17 (GMT)
commit8c6f88efa2371addacc2acf5cc4634974160406c (patch)
treef0bd5af1eb106bab7fdb893fcd9039ac42ed5a74 /Modules/pyexpat.c
parent9e3e1c6e4e98b7568fcb29708aeac88bc677c62c (diff)
downloadcpython-8c6f88efa2371addacc2acf5cc4634974160406c.zip
cpython-8c6f88efa2371addacc2acf5cc4634974160406c.tar.gz
cpython-8c6f88efa2371addacc2acf5cc4634974160406c.tar.bz2
remove __version__s dependent on subversion keyword expansion (closes #12221)
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 1cf699b..d923eeb 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1662,7 +1662,6 @@ MODULE_INITFUNC(void)
PyObject *errors_module;
PyObject *modelmod_name;
PyObject *model_module;
- PyObject *version;
PyObject *sys_modules;
PyObject *tmpnum, *tmpstr;
PyObject *codes_dict;
@@ -1699,10 +1698,6 @@ MODULE_INITFUNC(void)
Py_INCREF(&Xmlparsetype);
PyModule_AddObject(m, "XMLParserType", (PyObject *) &Xmlparsetype);
- version = PyUnicode_FromString(PY_VERSION);
- if (!version)
- return;
- PyModule_AddObject(m, "__version__", version);
PyModule_AddStringConstant(m, "EXPAT_VERSION",
(char *) XML_ExpatVersion());
{