Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2dfd73

Browse files
author
Fredrik Lundh
committed
Unicode nits: Don't include unicodedatabase.h no more. And make sure
to build *all* tables in makeunicodedata.py.
1 parent 7b7dd10 commit b2dfd73

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Modules/unicodedata.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
------------------------------------------------------------------------ */
1313

1414
#include "Python.h"
15-
#include "unicodedatabase.h"
1615

1716
typedef struct {
1817
const unsigned char category; /* index into

Tools/unicode/makeunicodedata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def maketables(trace=0):
5151

5252
print len(filter(None, unicode.table)), "characters"
5353

54-
# makeunicodename(unicode, trace)
54+
makeunicodename(unicode, trace)
5555
makeunicodedata(unicode, trace)
56-
# makeunicodetype(unicode, trace)
56+
makeunicodetype(unicode, trace)
5757

5858
# --------------------------------------------------------------------
5959
# unicode character properties

0 commit comments

Comments
 (0)