summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS5
-rw-r--r--Modules/pyexpat.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d433d4ca6b..9639cac5a9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,11 @@ Library
- Issue #6271: mmap tried to close invalid file handle (-1) when anonymous.
(On Unix)
+Extension Modules
+-----------------
+
+- Issue #5590: Remove unused global variable in pyexpat extension.
+
What's New in Python 3.1 Release Candidate 2?
=============================================
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 7a862c0f6d..1b9ffcac4b 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1169,7 +1169,6 @@ static struct PyMethodDef xmlparse_methods[] = {
*/
static char template_buffer[257];
-PyObject *template_string = NULL;
static void
init_template_buffer(void)