Make the version variable static (it has no business being exported).
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index a176225..b42a2bc 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -219,7 +219,7 @@
 
 ******************************************************************/
 
-char *PyCursesVersion = "1.2";
+static char *PyCursesVersion = "1.2";
 
 /*
  * Check the return code from a curses function and return None