@@ -361,7 +361,7 @@ cdef class TextReader:
361361 if not isinstance (encoding, bytes):
362362 encoding = encoding.encode(' utf-8' )
363363 encoding = encoding.lower()
364- self .c_encoding = < char * > encoding
364+ self .c_encoding = < char * > encoding
365365 else :
366366 self .c_encoding = NULL
367367
@@ -611,7 +611,7 @@ cdef class TextReader:
611611 for i in self .skiprows:
612612 parser_add_skiprow(self .parser, i)
613613 else :
614- self .parser.skipfunc = < PyObject * > self .skiprows
614+ self .parser.skipfunc = < PyObject * > self .skiprows
615615
616616 cdef _setup_parser_source(self , source):
617617 cdef:
@@ -668,7 +668,7 @@ cdef class TextReader:
668668 source = icom.UTF8Recoder(source,
669669 self .encoding.decode(' utf-8' ))
670670 self .encoding = b' utf-8'
671- self .c_encoding = < char * > self .encoding
671+ self .c_encoding = < char * > self .encoding
672672
673673 self .handle = source
674674
@@ -1444,7 +1444,7 @@ cdef _string_box_factorize(parser_t *parser, int64_t col,
14441444 pyval = PyBytes_FromString(word)
14451445
14461446 k = kh_put_strbox(table, word, & ret)
1447- table.vals[k] = < PyObject* > pyval
1447+ table.vals[k] = < PyObject* > pyval
14481448
14491449 result[i] = pyval
14501450
@@ -1498,7 +1498,7 @@ cdef _string_box_utf8(parser_t *parser, int64_t col,
14981498 pyval = PyUnicode_FromString(word)
14991499
15001500 k = kh_put_strbox(table, word, & ret)
1501- table.vals[k] = < PyObject * > pyval
1501+ table.vals[k] = < PyObject * > pyval
15021502
15031503 result[i] = pyval
15041504
@@ -1556,7 +1556,7 @@ cdef _string_box_decode(parser_t *parser, int64_t col,
15561556 pyval = PyUnicode_Decode(word, size, encoding, errors)
15571557
15581558 k = kh_put_strbox(table, word, & ret)
1559- table.vals[k] = < PyObject * > pyval
1559+ table.vals[k] = < PyObject * > pyval
15601560
15611561 result[i] = pyval
15621562
@@ -1648,7 +1648,7 @@ cdef _to_fw_string(parser_t *parser, int64_t col, int64_t line_start,
16481648 ndarray result
16491649
16501650 result = np.empty(line_end - line_start, dtype = ' |S%d ' % width)
1651- data = < char * > result.data
1651+ data = < char * > result.data
16521652
16531653 with nogil:
16541654 _to_fw_string_nogil(parser, col, line_start, line_end, width, data)
@@ -1695,7 +1695,7 @@ cdef _try_double(parser_t *parser, int64_t col,
16951695
16961696 lines = line_end - line_start
16971697 result = np.empty(lines, dtype = np.float64)
1698- data = < double * > result.data
1698+ data = < double * > result.data
16991699 na_fset = kset_float64_from_list(na_flist)
17001700 if parser.double_converter_nogil != NULL : # if it can run without the GIL
17011701 with nogil:
@@ -1803,7 +1803,7 @@ cdef _try_uint64(parser_t *parser, int64_t col,
18031803
18041804 lines = line_end - line_start
18051805 result = np.empty(lines, dtype = np.uint64)
1806- data = < uint64_t * > result.data
1806+ data = < uint64_t * > result.data
18071807
18081808 uint_state_init(& state)
18091809 coliter_setup(& it, parser, col, line_start)
@@ -1879,7 +1879,7 @@ cdef _try_int64(parser_t *parser, int64_t col,
18791879
18801880 lines = line_end - line_start
18811881 result = np.empty(lines, dtype = np.int64)
1882- data = < int64_t * > result.data
1882+ data = < int64_t * > result.data
18831883 coliter_setup(& it, parser, col, line_start)
18841884 with nogil:
18851885 error = _try_int64_nogil(parser, col, line_start, line_end,
@@ -1951,7 +1951,7 @@ cdef _try_bool_flex(parser_t *parser, int64_t col,
19511951
19521952 lines = line_end - line_start
19531953 result = np.empty(lines, dtype = np.uint8)
1954- data = < uint8_t * > result.data
1954+ data = < uint8_t * > result.data
19551955 with nogil:
19561956 error = _try_bool_flex_nogil(parser, col, line_start, line_end,
19571957 na_filter, na_hashset, true_hashset,
0 commit comments