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

Guido van Rossum gvanrossum@users.sourceforge.net
Thu, 14 Jun 2001 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 {