[Python-checkins] CVS: python/dist/src/Modules _cursesmodule.c,2.45,2.46

A.M. Kuchling python-dev@python.org
Tue, 26 Dec 2000 07:57:05 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv12097

Modified Files:
	_cursesmodule.c 
Log Message:
Add the curses constants ERR and OK to the module at TG's suggestion


Index: _cursesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_cursesmodule.c,v
retrieving revision 2.45
retrieving revision 2.46
diff -C2 -r2.45 -r2.46
*** _cursesmodule.c	2000/12/22 21:52:27	2.45
--- _cursesmodule.c	2000/12/26 15:57:01	2.46
***************
*** 2465,2468 ****
--- 2465,2471 ----
  	Py_DECREF(v);
  
+         SetDictInt("ERR", ERR);
+         SetDictInt("OK", OK);
+ 
  	/* Here are some attributes you can add to chars to print */