perky 03/01/01 19:45:15
Modified: src _koco.c
Log:
Set ``__version__'' instead of ``version''
Revision Changes Path
1.24 +5 -5 KoreanCodecs/src/_koco.c
Index: _koco.c
===================================================================
RCS file: /cvsroot/koco/KoreanCodecs/src/_koco.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- _koco.c 14 Oct 2002 10:27:13 -0000 1.23
+++ _koco.c 2 Jan 2003 03:45:15 -0000 1.24
@@ -1,10 +1,10 @@
/*
- * _koco.c - $Revision: 1.23 $
+ * _koco.c - $Revision: 1.24 $
*
* KoreanCodecs C Implementations
*
* Author : Hye-Shik Chang <pe...@Fr...>
- * Date : $Date: 2002/10/14 10:27:13 $
+ * Date : $Date: 2003/01/02 03:45:15 $
* Created : 15 March 2002
*
* This file is part of KoreanCodecs.
@@ -24,7 +24,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-static char *version = "$Revision: 1.23 $";
+static char *version = "$Revision: 1.24 $";
#include "Python.h"
@@ -156,7 +156,7 @@
Py_DECREF(t);
t = PyString_FromString(version);
- PyDict_SetItemString(d, "version", t);
+ PyDict_SetItemString(d, "__version__", t);
Py_DECREF(t);
ErrorObject = PyErr_NewException("_koco.error", NULL, NULL);
@@ -167,6 +167,6 @@
}
/*
- * $Id: _koco.c,v 1.23 2002/10/14 10:27:13 perky Exp $
+ * $Id: _koco.c,v 1.24 2003/01/02 03:45:15 perky Exp $
* ex: ts=8 sts=4 et
*/
|