diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-06-01 01:52:17 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-06-01 01:52:17 (GMT) |
commit | 8c6f88efa2371addacc2acf5cc4634974160406c (patch) | |
tree | f0bd5af1eb106bab7fdb893fcd9039ac42ed5a74 /Modules/pyexpat.c | |
parent | 9e3e1c6e4e98b7568fcb29708aeac88bc677c62c (diff) | |
download | cpython-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.c | 5 |
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()); { |