diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-05-31 20:52:17 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-05-31 20:52:17 -0500 |
commit | 8a652446e501ef5fe1e87dad7db19b0691a811ef (patch) | |
tree | d77f074a95967ea8b190a76a95d44424e63d2bf4 /Modules/pyexpat.c | |
parent | 4cd5517097bb7975d757576b6dd29a7027fc92f5 (diff) | |
download | cpython-8a652446e501ef5fe1e87dad7db19b0691a811ef.tar.gz |
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 1cf699b9c6..d923eeb35a 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()); { |