Skip to content

Commit

Permalink
remove const declaration in @PyDEF which did nothing in the local scope
Browse files Browse the repository at this point in the history
  • Loading branch information
marius311 committed Sep 17, 2018
1 parent 0f685cf commit 2105d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyclass.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Multiple dispatch works, too:
"""
macro pydef(class_expr)
class_name, _, _ = parse_pydef_toplevel(class_expr)
esc(:(const $class_name = $PyCall.@pydef_object($class_expr)))
esc(:($class_name = $PyCall.@pydef_object($class_expr)))
end

"""
Expand Down

0 comments on commit 2105d8c

Please sign in to comment.