[Python-checkins] python/dist/src/Objects object.c,2.223,2.224

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Sat Sep 25 03:37:26 CEST 2004


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20010/Objects

Modified Files:
	object.c 
Log Message:
Remove 'extern' declaration for _Py_SwappedOp.


Index: object.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v
retrieving revision 2.223
retrieving revision 2.224
diff -u -d -r2.223 -r2.224
--- object.c	23 Sep 2004 02:39:37 -0000	2.223
+++ object.c	25 Sep 2004 01:37:24 -0000	2.224
@@ -476,7 +476,7 @@
                          ? (t)->tp_richcompare : NULL)
 
 /* Map rich comparison operators to their swapped version, e.g. LT --> GT */
-extern int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE};
+int _Py_SwappedOp[] = {Py_GT, Py_GE, Py_EQ, Py_NE, Py_LT, Py_LE};
 
 /* Try a genuine rich comparison, returning an object.  Return:
    NULL for exception;



More information about the Python-checkins mailing list