[Python-checkins] python/dist/src/Objects unicodeobject.c, 2.208,
2.209
perky at users.sourceforge.net
perky at users.sourceforge.net
Sat Jan 3 14:35:45 EST 2004
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv488
Modified Files:
unicodeobject.c
Log Message:
Cosmetic fix for wrongly indented tabs with ts=4.
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.208
retrieving revision 2.209
diff -C2 -d -r2.208 -r2.209
*** unicodeobject.c 23 Dec 2003 09:10:16 -0000 2.208
--- unicodeobject.c 3 Jan 2004 19:35:43 -0000 2.209
***************
*** 1005,1010 ****
if (!inShift) {
! if (ch == '+') {
! *out++ = '+';
*out++ = '-';
} else if (SPECIAL(ch, encodeSetO, encodeWhiteSpace)) {
--- 1005,1010 ----
if (!inShift) {
! if (ch == '+') {
! *out++ = '+';
*out++ = '-';
} else if (SPECIAL(ch, encodeSetO, encodeWhiteSpace)) {
***************
*** 1012,1021 ****
bitsleft = 16;
*out++ = '+';
! /* out, charsleft, bitsleft = */ ENCODE(out, charsleft, bitsleft);
inShift = bitsleft > 0;
! } else {
! *out++ = (char) ch;
! }
! } else {
if (!SPECIAL(ch, encodeSetO, encodeWhiteSpace)) {
*out++ = B64(charsleft << (6-bitsleft));
--- 1012,1021 ----
bitsleft = 16;
*out++ = '+';
! /* out, charsleft, bitsleft = */ ENCODE(out, charsleft, bitsleft);
inShift = bitsleft > 0;
! } else {
! *out++ = (char) ch;
! }
! } else {
if (!SPECIAL(ch, encodeSetO, encodeWhiteSpace)) {
*out++ = B64(charsleft << (6-bitsleft));
***************
*** 1060,1064 ****
}
}
! }
if (bitsleft) {
*out++= B64(charsleft << (6-bitsleft) );
--- 1060,1064 ----
}
}
! }
if (bitsleft) {
*out++= B64(charsleft << (6-bitsleft) );
More information about the Python-checkins
mailing list