Skip to content

Commit 28f75b0

Browse files
marius311stevengj
authored andcommitted
remove const declaration in @pydef which is deprecated in local scope (#571)
see JuliaLang/julia#23259
1 parent 0f685cf commit 28f75b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyclass.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Multiple dispatch works, too:
150150
"""
151151
macro pydef(class_expr)
152152
class_name, _, _ = parse_pydef_toplevel(class_expr)
153-
esc(:(const $class_name = $PyCall.@pydef_object($class_expr)))
153+
esc(:($class_name = $PyCall.@pydef_object($class_expr)))
154154
end
155155

156156
"""

0 commit comments

Comments
 (0)