aboutsummaryrefslogtreecommitdiff
path: root/devel/py-simpleparse/files/patch-simpleparse-stt-TextTools-mxTextTools-mxTextTools.c
blob: 80f4ffc2b35e8eec749c7c981821b1ee22952998 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Obtained from:	https://github.com/mcfletch/simpleparse/commit/dc6dc546f03397fe9a906500cf7560e223b1b8ee

--- simpleparse/stt/TextTools/mxTextTools/mxTextTools.c.orig	2020-02-17 16:02:36 UTC
+++ simpleparse/stt/TextTools/mxTextTools/mxTextTools.c
@@ -2835,7 +2835,7 @@ PyObject *mxTextTools_UnicodeJoin(PyObject *seq,
 
 	o = PySequence_GetItem(seq, i);
 
-	if PyTuple_Check(o) {
+	if (PyTuple_Check(o)) {
 	    /* Tuple entry: (string,l,r,[...]) */
 	    register Py_ssize_t l,r;
 
@@ -2980,7 +2980,7 @@ PyObject *mxTextTools_Join(PyObject *seq,
 
 	o = PySequence_GetItem(seq, i);
 
-	if PyTuple_Check(o) {
+	if (PyTuple_Check(o)) {
 	    /* Tuple entry: (string,l,r,[...]) */
 	    register Py_ssize_t l,r;