Skip to content

Commit bf8a23d

Browse files
jbrockmendelWillAyd
authored andcommitted
BLD: address build warnings (#30639)
1 parent d6f3649 commit bf8a23d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pandas/_libs/algos_take_helper.pxi.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def take_2d_axis0_{{name}}_{{dest}}(ndarray[{{c_type_in}}, ndim=2] values,
116116

117117
IF {{True if c_type_in == c_type_out != "object" else False}}:
118118
cdef:
119-
{{c_type_out}} *v
119+
const {{c_type_out}} *v
120120
{{c_type_out}} *o
121121

122122
# GH#3130

pandas/_libs/hashtable.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cimport cython
22

33
from cpython.ref cimport PyObject, Py_INCREF
4-
from cpython.mem cimport PyMem_Malloc, PyMem_Realloc, PyMem_Free
4+
from cpython.mem cimport PyMem_Malloc, PyMem_Free
55

66
from libc.stdlib cimport malloc, free
77

pandas/_libs/tslibs/conversion.pxd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3-
from cpython.datetime cimport datetime, tzinfo
3+
from cpython.datetime cimport datetime
44

55
from numpy cimport int64_t, int32_t
66

0 commit comments

Comments
 (0)