[Python-checkins] CVS: python/dist/src/Objects floatobject.c,2.81.6.1,2.81.6.2

Guido van Rossum gvanrossum@users.sourceforge.net
Mon, 30 Apr 2001 07:08:35 -0700


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

Modified Files:
      Tag: descr-branch
	floatobject.c 
Log Message:
Line up the comments in the type structure initializer.


Index: floatobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/floatobject.c,v
retrieving revision 2.81.6.1
retrieving revision 2.81.6.2
diff -C2 -r2.81.6.1 -r2.81.6.2
*** floatobject.c	2001/04/30 01:14:56	2.81.6.1
--- floatobject.c	2001/04/30 14:08:33	2.81.6.2
***************
*** 668,687 ****
  	sizeof(PyFloatObject),
  	0,
! 	(destructor)float_dealloc, /*tp_dealloc*/
! 	(printfunc)float_print, /*tp_print*/
! 	0,			/*tp_getattr*/
! 	0,			/*tp_setattr*/
! 	(cmpfunc)float_compare, /*tp_compare*/
! 	(reprfunc)float_repr,	/*tp_repr*/
! 	&float_as_number,	/*tp_as_number*/
! 	0,			/*tp_as_sequence*/
! 	0,			/*tp_as_mapping*/
! 	(hashfunc)float_hash,	/*tp_hash*/
!         0,			/*tp_call*/
!         (reprfunc)float_str,	/*tp_str*/
! 	PyGeneric_GetAttr,	/* tp_getattro */
! 	0,			/*tp_setattro*/
! 	0,			/*tp_as_buffer*/
! 	Py_TPFLAGS_DEFAULT | Py_TPFLAGS_CHECKTYPES	/*tp_flags*/
  };
  
--- 668,687 ----
  	sizeof(PyFloatObject),
  	0,
! 	(destructor)float_dealloc,		/* tp_dealloc */
! 	(printfunc)float_print, 		/* tp_print */
! 	0,					/* tp_getattr */
! 	0,					/* tp_setattr */
! 	(cmpfunc)float_compare, 		/* tp_compare */
! 	(reprfunc)float_repr,			/* tp_repr */
! 	&float_as_number,			/* tp_as_number */
! 	0,					/* tp_as_sequence */
! 	0,					/* tp_as_mapping */
! 	(hashfunc)float_hash,			/* tp_hash */
! 	0,					/* tp_call */
! 	(reprfunc)float_str,			/* tp_str */
! 	PyGeneric_GetAttr,			/* tp_getattro */
! 	0,					/* tp_setattro */
! 	0,					/* tp_as_buffer */
! 	Py_TPFLAGS_DEFAULT | Py_TPFLAGS_CHECKTYPES /* tp_flags */
  };