Skip to content

Commit 4b3bd65

Browse files
author
Christopher Doris
committed
prefer Fix2 over anonymous function
1 parent f021072 commit 4b3bd65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GC/GC.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function enqueue(ptr::C.PyPtr)
8383
end
8484

8585
function enqueue_all(ptrs)
86-
if any(ptr -> ptr != C.PYNULL, ptrs) && C.CTX.is_initialized
86+
if any(!=(C.PYNULL), ptrs) && C.CTX.is_initialized
8787
if C.PyGILState_Check() == 1
8888
for ptr in ptrs
8989
if ptr != C.PyNULL

0 commit comments

Comments
 (0)