Skip to content

Commit b103be7

Browse files
committed
code review fixes
1 parent c152171 commit b103be7

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

Modules/grapheme_cluster_break_automaton.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ typedef enum {
3838
STATE_Any,
3939
} GCBState;
4040

41-
static GCBState GRAPH_CLUSTER_AUTOMATON[15][20] = {
41+
static const GCBState GRAPH_CLUSTER_AUTOMATON[15][19] = {
4242
[STATE_BREAK] = {STATE_BREAK,
4343
STATE_BREAK,
4444
STATE_BREAK,

Modules/unicodedata.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,8 +1316,6 @@ PyObject* GCI_iternext(PyObject *self)
13161316
++p->pos;
13171317
}
13181318
} else {
1319-
/* Raising of standard StopIteration exception with empty value. */
1320-
PyErr_SetNone(PyExc_StopIteration);
13211319
return NULL;
13221320
}
13231321
}

Tools/unicode/makeunicodedata.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,6 @@ def open_data(template, version):
910910
url = 'http://www.unicode.org/Public/3.2-Update/' + local
911911
else:
912912
url = ('http://www.unicode.org/Public/%s/ucd/'+template) % (version, '')
913-
print(url)
914913
urllib.request.urlretrieve(url, filename=local)
915914
if local.endswith('.txt'):
916915
return open(local, encoding='utf-8')

0 commit comments

Comments
 (0)