Skip to content

Commit a11f414

Browse files
committed
fix typo
1 parent d4ed7fd commit a11f414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PyCall.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ if pyversion >= v"3.3"
859859
else
860860
function empty!(o::PyObject)
861861
p = _getproperty(o, "clear")
862-
if p != NULL # for dict, set, etc.
862+
if p != C_NULL # for dict, set, etc.
863863
pydecref(pycall(PyObject(o)."clear", PyObject))
864864
else
865865
for i = length(o)-1:-1:0

0 commit comments

Comments
 (0)