[Python-checkins] python/dist/src/Modules unicodedata.c,2.34,2.35
loewis@users.sourceforge.net
loewis at users.sourceforge.net
Sun Sep 18 10:17:59 CEST 2005
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14856/Modules
Modified Files:
unicodedata.c
Log Message:
Patch #1213831: Fix typo in unicodedata._getcode.
Will backport to Python 2.4.
Index: unicodedata.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/unicodedata.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -u -d -r2.34 -r2.35
--- unicodedata.c 4 Jun 2005 07:31:48 -0000 2.34
+++ unicodedata.c 18 Sep 2005 08:17:56 -0000 2.35
@@ -820,7 +820,7 @@
pos += len;
find_syllable(pos, &len, &T, TCount, 2);
pos += len;
- if (V != -1 && V != -1 && T != -1 && pos-name == namelen) {
+ if (L != -1 && V != -1 && T != -1 && pos-name == namelen) {
*code = SBase + (L*VCount+V)*TCount + T;
return 1;
}
More information about the Python-checkins
mailing list