We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f021072 commit 4b3bd65Copy full SHA for 4b3bd65
src/GC/GC.jl
@@ -83,7 +83,7 @@ function enqueue(ptr::C.PyPtr)
83
end
84
85
function enqueue_all(ptrs)
86
- if any(ptr -> ptr != C.PYNULL, ptrs) && C.CTX.is_initialized
+ if any(!=(C.PYNULL), ptrs) && C.CTX.is_initialized
87
if C.PyGILState_Check() == 1
88
for ptr in ptrs
89
if ptr != C.PyNULL
0 commit comments