Skip to content

Commit 1ab8da6

Browse files
authored
CLN: remove deprecated DEF (#47936)
* CLN: remove deprecated DEF * fix empty line * move consts inside of func
1 parent 4556fe2 commit 1ab8da6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/_libs/hashing.pyx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ import_array()
2121

2222
from pandas._libs.util cimport is_nan
2323

24-
DEF cROUNDS = 2
25-
DEF dROUNDS = 4
26-
2724

2825
@cython.boundscheck(False)
2926
def hash_object_array(
@@ -162,6 +159,8 @@ cdef uint64_t low_level_siphash(uint8_t* data, size_t datalen,
162159
cdef uint8_t* end = data + datalen - (datalen % sizeof(uint64_t))
163160
cdef int left = datalen & 7
164161
cdef int left_byte
162+
cdef int cROUNDS = 2
163+
cdef int dROUNDS = 4
165164

166165
b = (<uint64_t>datalen) << 56
167166
v3 ^= k1

0 commit comments

Comments
 (0)