Skip to content

Commit e7343af

Browse files
committed
PERF: specify type of is_definitely_invalid_key
1 parent 52e4a02 commit e7343af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/index.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ from pandas._libs.missing import checknull
3131
cdef int64_t iNaT = util.get_nat()
3232

3333

34-
cdef inline is_definitely_invalid_key(object val):
34+
cdef inline bint is_definitely_invalid_key(object val):
3535
if PyTuple_Check(val):
3636
try:
3737
hash(val)

0 commit comments

Comments
 (0)