[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.91,2.92
Jeremy Hylton
jhylton@users.sourceforge.net
Tue, 29 May 2001 10:13:17 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv6860
Modified Files:
unicodeobject.c
Log Message:
fix bogus indentation
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.91
retrieving revision 2.92
diff -C2 -r2.91 -r2.92
*** unicodeobject.c 2001/05/21 20:30:15 2.91
--- unicodeobject.c 2001/05/29 17:13:15 2.92
***************
*** 530,534 ****
if (errors == NULL) {
if (strcmp(encoding, "utf-8") == 0)
! return PyUnicode_AsUTF8String(unicode);
else if (strcmp(encoding, "latin-1") == 0)
return PyUnicode_AsLatin1String(unicode);
--- 530,534 ----
if (errors == NULL) {
if (strcmp(encoding, "utf-8") == 0)
! return PyUnicode_AsUTF8String(unicode);
else if (strcmp(encoding, "latin-1") == 0)
return PyUnicode_AsLatin1String(unicode);