[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.93,2.94

Guido van Rossum gvanrossum@users.sourceforge.net
2001年6月14日 10:52:05 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv483
Modified Files:
	unicodeobject.c 
Log Message:
Fix a mis-indentation in _PyUnicode_New() that caused me to stare at
some code for longer than needed.
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.93
retrieving revision 2.94
diff -C2 -r2.93 -r2.94
*** unicodeobject.c	2001年06月07日 12:26:56	2.93
--- unicodeobject.c	2001年06月14日 17:52:02	2.94
***************
*** 184,191 ****
 	 }
 	}
! else {
 	 unicode->str = PyMem_NEW(Py_UNICODE, length + 1);
! }
! PyObject_INIT(unicode, &PyUnicode_Type);
 }
 else {
--- 184,191 ----
 	 }
 	}
! else {
 	 unicode->str = PyMem_NEW(Py_UNICODE, length + 1);
! }
! PyObject_INIT(unicode, &PyUnicode_Type);
 }
 else {

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