Skip to content

Commit 86158c6

Browse files
author
Christopher Doris
committed
more convenient import
1 parent ea28692 commit 86158c6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/GC.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ See [`gc`](@ref).
77
"""
88
module GC
99

10-
import ...PythonCall.GC: disable, enable, gc
10+
import ..PythonCall.GC: disable, enable, gc
1111
using ..C: C
1212

1313
const QUEUE = (; items = C.PyPtr[], lock = Threads.SpinLock())

src/GIL.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module GIL
22

3-
import ...PythonCall.GIL: lock, @lock, unlock, @unlock
3+
import ..PythonCall.GIL: lock, @lock, unlock, @unlock
44
using ..C: C
55

66
"""

src/PythonCall.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ include("api.jl")
44

55
module Internals
66

7-
# include("Utils/Utils.jl")
7+
using ..PythonCall
8+
9+
include("Utils.jl")
810
include("C/C.jl")
911
include("GIL.jl")
1012
include("GC.jl")

0 commit comments

Comments
 (0)