[Python-checkins] python/dist/src/Objects object.c, 2.219, 2.220 funcobject.c, 2.64, 2.65

nnorwitz at users.sourceforge.net nnorwitz at users.sourceforge.net
Thu Jul 8 03:49:02 CEST 2004


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

Modified Files:
	object.c funcobject.c 
Log Message:
Remove unused macros in .c files

Index: object.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v
retrieving revision 2.219
retrieving revision 2.220
diff -C2 -d -r2.219 -r2.220
*** object.c	2 Jul 2004 18:57:44 -0000	2.219
--- object.c	8 Jul 2004 01:48:59 -0000	2.220
***************
*** 705,710 ****
  }
  
- #define CHECK_TYPES(o) PyType_HasFeature((o)->ob_type, Py_TPFLAGS_CHECKTYPES)
- 
  /* Do a 3-way comparison, by hook or by crook.  Return:
     -2 for an exception (but see below);
--- 705,708 ----

Index: funcobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/funcobject.c,v
retrieving revision 2.64
retrieving revision 2.65
diff -C2 -d -r2.64 -r2.65
*** funcobject.c	23 Mar 2004 18:40:15 -0000	2.64
--- funcobject.c	8 Jul 2004 01:48:59 -0000	2.65
***************
*** 157,162 ****
  #define OFF(x) offsetof(PyFunctionObject, x)
  
- #define RR ()
- 
  static PyMemberDef func_memberlist[] = {
          {"func_closure",  T_OBJECT,     OFF(func_closure),
--- 157,160 ----



More information about the Python-checkins mailing list