[Python-checkins] python/dist/src/Modules xxmodule.c,2.27,2.28

tim_one@sourceforge.net tim_one@sourceforge.net
2002年5月23日 08:49:40 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv1874/python/Modules
Modified Files:
	xxmodule.c 
Log Message:
Whitespace normalization.
Index: xxmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/xxmodule.c,v
retrieving revision 2.27
retrieving revision 2.28
diff -C2 -d -r2.27 -r2.28
*** xxmodule.c	9 Apr 2002 12:50:13 -0000	2.27
--- xxmodule.c	23 May 2002 15:49:38 -0000	2.28
***************
*** 6,10 ****
 module. If your module is named foo your sourcefile should be named
 foomodule.c.
! 
 You will probably want to delete all references to 'x_attr' and add
 your own types of attributes instead. Maybe you want to name your
--- 6,10 ----
 module. If your module is named foo your sourcefile should be named
 foomodule.c.
! 
 You will probably want to delete all references to 'x_attr' and add
 your own types of attributes instead. Maybe you want to name your
***************
*** 162,171 ****
 {
 	XxoObject *rv;
! 	
 	if (!PyArg_ParseTuple(args, ":new"))
 		return NULL;
 	rv = newXxoObject(args);
! 	if ( rv == NULL )
! 	 return NULL;
 	return (PyObject *)rv;
 }
--- 162,171 ----
 {
 	XxoObject *rv;
! 
 	if (!PyArg_ParseTuple(args, ":new"))
 		return NULL;
 	rv = newXxoObject(args);
! 	if (rv == NULL)
! 		return NULL;
 	return (PyObject *)rv;
 }
***************
*** 177,184 ****
 {
 	PyObject *list, *item;
! 	
 	if (!PyArg_ParseTuple(args, "O:bug", &list))
 		return NULL;
! 	
 	item = PyList_GetItem(list, 0);
 	/* Py_INCREF(item); */
--- 177,184 ----
 {
 	PyObject *list, *item;
! 
 	if (!PyArg_ParseTuple(args, "O:bug", &list))
 		return NULL;
! 
 	item = PyList_GetItem(list, 0);
 	/* Py_INCREF(item); */
***************
*** 187,191 ****
 	printf("\n");
 	/* Py_DECREF(item); */
! 	
 	Py_INCREF(Py_None);
 	return Py_None;
--- 187,191 ----
 	printf("\n");
 	/* Py_DECREF(item); */
! 
 	Py_INCREF(Py_None);
 	return Py_None;

AltStyle によって変換されたページ (->オリジナル) /