Skip to content

Commit 291d1f4

Browse files
author
Christopher Doris
committed
fix up Convert
1 parent 9155a88 commit 291d1f4

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/API/API.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"The version of PythonCall."
2-
const VERSION = v"0.9.23"
2+
const VERSION = v"0.9.24"
33

44
# types
55
include("types.jl")
@@ -123,6 +123,7 @@ function pycompile end
123123
macro pyeval end
124124
macro pyexec end
125125
macro pyconst end
126+
macro pyconvert end
126127

127128
# exports
128129
export Py

src/Convert/Convert.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ Implements `pyconvert`.
55
"""
66
module Convert
77

8-
using ..Core
8+
using ..PythonCall
99
using ..Core:
10+
Core,
1011
C,
1112
Utils,
1213
@autopy,
@@ -46,7 +47,7 @@ using ..Core:
4647
pybool_asbool
4748
using Dates: Date, Time, DateTime, Second, Millisecond, Microsecond, Nanosecond
4849

49-
import ..Core: pyconvert
50+
import PythonCall: pyconvert, @pyconvert
5051

5152
include("pyconvert.jl")
5253
include("rules.jl")

src/PythonCall.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ include("C/C.jl")
1717
include("GIL.jl")
1818
include("GC.jl")
1919
include("Core/Core.jl")
20-
# include("Convert/Convert.jl")
20+
include("Convert/Convert.jl")
2121
# include("PyMacro/PyMacro.jl")
2222
# include("Wrap/Wrap.jl")
2323
# include("JlWrap/JlWrap.jl")

0 commit comments

Comments
 (0)