Skip to content

Commit e1f56be

Browse files
author
Christopher Doris
committed
removing version-dependent behaviour
1 parent 2fc6479 commit e1f56be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JlWrap/any.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function pyjlany_setattr(self, k_::Py, v_::Py)
2626
k = Symbol(pyjl_attr_py2jl(pyconvert(String, k_)))
2727
pydel!(k_)
2828
v = pyconvert(Any, v_)
29-
if VERSION >= v"1.11.0-" && self isa Module && !isdefined(self, k)
29+
if self isa Module && !isdefined(self, k)
3030
# Fix for https://github.com/JuliaLang/julia/pull/54678
3131
Base.Core.eval(self, Expr(:global, k))
3232
end

0 commit comments

Comments
 (0)